File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
.vortex/tests/phpunit/Functional Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,13 @@ jobs:
159159 run : composer install
160160 working-directory : .vortex/tests
161161
162+ - name : Lint code
163+ run : |
164+ php -d memory_limit=-1 ./vendor/bin/phpcs
165+ php -d memory_limit=-1 ./vendor/bin/phpstan
166+ php -d memory_limit=-1 ./vendor/bin/rector --dry-run
167+ working-directory : .vortex/tests
168+
162169 - name : Install Ahoy
163170 run : |
164171 version=2.4.0 && \
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ public function testCircleCiArtifactsAreSaved(): void {
5858
5959 $ this ->assertNotEmpty ($ previous_job_numbers , 'No previous job numbers found ' );
6060
61- foreach ($ previous_job_numbers as $ previou_job_number ) {
62- $ artifacts_data = $ this ->circleCiGetJobArtifacts ($ previou_job_number );
61+ foreach ($ previous_job_numbers as $ previous_job_number ) {
62+ $ artifacts_data = $ this ->circleCiGetJobArtifacts ($ previous_job_number );
6363
6464 // Verify runner 0 artifacts.
6565 $ artifact_paths_runner0 = $ this ->circleCiExtractArtifactPaths ($ artifacts_data , 0 );
@@ -101,8 +101,8 @@ public function testCircleCiTestResultsAreSaved(): void {
101101
102102 $ this ->assertNotEmpty ($ previous_job_numbers , 'No previous job numbers found ' );
103103
104- foreach ($ previous_job_numbers as $ previou_job_number ) {
105- $ tests_data = $ this ->circleCiGetJobTestMetadata ($ previou_job_number );
104+ foreach ($ previous_job_numbers as $ previous_job_number ) {
105+ $ tests_data = $ this ->circleCiGetJobTestMetadata ($ previous_job_number );
106106 $ test_paths = $ this ->circleCiExtractTestPaths ($ tests_data );
107107 $ test_paths_str = implode ("\n" , $ test_paths );
108108
You can’t perform that action at this time.
0 commit comments