Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
coding-standards:
runs-on: ubuntu-latest

env:
PHP_CS_FIXER_IGNORE_ENV: '1'

strategy:
matrix:
operating-system: [ ubuntu-latest ]
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
/.php-cs-fixer.cache
/.tools/
/build/
/composer.lock
/infection.log
/tests/**/_generated/
/tests/**/_output/
/tests/e2e/*/var/
/var/
/vendor/
/composer.lock
7 changes: 1 addition & 6 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

use PhpCsFixer\Config;
use PhpCsFixer\Finder;

Expand All @@ -59,10 +58,6 @@
return (new Config())
->setRiskyAllowed(true)
->setRules([
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'@PHPUnit60Migration:risky' => true,
'@PHPUnit75Migration:risky' => true,
'@Symfony' => true,
'@Symfony:risky' => true,
'blank_line_before_statement' => [
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ help:

# PHP CS Fixer
PHP_CS_FIXER=./.tools/php-cs-fixer
PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.35.1/php-cs-fixer.phar"
PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.95.1/php-cs-fixer.phar"

# PHPUnit
PHPUNIT=vendor/bin/phpunit
Expand Down
3 changes: 1 addition & 2 deletions src/CodeceptionAdapter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception;

use function array_filter;
Expand Down
3 changes: 1 addition & 2 deletions src/CodeceptionAdapterFactory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception;

use Infection\AbstractTestFramework\TestFrameworkAdapter;
Expand Down
3 changes: 1 addition & 2 deletions src/CodeceptionConfigParseException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception;

use Exception;
Expand Down
3 changes: 1 addition & 2 deletions src/CommandLineBuilder.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception;

use function array_filter;
Expand Down
3 changes: 1 addition & 2 deletions src/Coverage/JUnitTestCaseSorter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception\Coverage;

use function array_map;
Expand Down
3 changes: 1 addition & 2 deletions src/Stringifier.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception;

use function implode;
Expand Down
3 changes: 1 addition & 2 deletions src/VersionParser.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\TestFramework\Codeception;

use Infection\AbstractTestFramework\InvalidVersion;
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Adapter/CodeceptionAdapterFactoryTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception\Adapter;

use Infection\TestFramework\Codeception\CodeceptionAdapter;
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Adapter/CodeceptionAdapterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception\Adapter;

use function array_merge;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception\Adapter;

use Infection\TestFramework\Codeception\CodeceptionConfigParseException;
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Adapter/Coverage/JUnitTestCaseSorterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception\Adapter\Coverage;

use Infection\AbstractTestFramework\Coverage\TestLocation;
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Adapter/StringifierTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception\Adapter;

use Generator;
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Adapter/VersionParserTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception\Adapter;

use Infection\AbstractTestFramework\InvalidVersion;
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/FileSystem/FileSystemTestCase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

/*
* This file is part of the box project.
*
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Helpers.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This code is licensed under the BSD 3-Clause License.
*
Expand Down Expand Up @@ -31,8 +32,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

declare(strict_types=1);

namespace Infection\Tests\TestFramework\Codeception;

use const DIRECTORY_SEPARATOR;
Expand Down
Loading