repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS3x0_php8x0.test-in.php | tests/Fixtures/Integration/set/@PER-CS3x0_php8x0.test-in.php | <?php
function parametersMultilineWithoutComma(
string | null | float $x,
int|null $y
) {}
$matchMultilineWithoutComma = match ($a) {
1 => 0,
2 => 1
};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS2x0_php8x0.test-out.php | tests/Fixtures/Integration/set/@PER-CS2x0_php8x0.test-out.php | <?php
function parametersMultilineWithoutComma(
$x,
$y,
) {}
$matchMultilineWithoutComma = match ($a) {
1 => 0,
2 => 1,
};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@Symfony_whitespaces.test-in.php | tests/Fixtures/Integration/set/@Symfony_whitespaces.test-in.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Acme;
declare(ticks=1);
/**
* Coding standards demonstration.
*/
cla... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS2x0.test-in.php | tests/Fixtures/Integration/set/@PER-CS2x0.test-in.php | <?
namespace Vendor\Package;
use const BAR;
use function foo;
use \FooInterfaceA, FooInterfaceB;
use \BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA{
var $aaa = 1, $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null)
{
... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit4x8Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit4x8Migration-risky.test-out.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit3x0Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit3x0Migration-risky.test-out.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertNull($foo);
$this->assertTrue(is_array($foo));
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x2Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit5x2Migration-risky.test-out.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@Symfony-risky.test-in.php | tests/Fixtures/Integration/set/@Symfony-risky.test-in.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Acme;
declare(ticks=1);
final class FinalClass
{
final function fi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12.test-out.php | tests/Fixtures/Integration/set/@PSR12.test-out.php | <?php
namespace Vendor\Package;
use FooInterfaceA;
use FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
use function foo;
use const BAR;
class Foo extends Bar implements FooInterfaceA
{
use FooTrait;
use BarTrait;
public $aaa = 1;
public $bbb = 2;
public function sam... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP7x4Migration.test-out.php | tests/Fixtures/Integration/set/@PHP7x4Migration.test-out.php | <?php
declare(strict_types=1);
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace
// 'normalize_index_brace'
$y = $f[1];
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real
$a = (float) $a;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@Symfony_whitespaces.test-out.php | tests/Fixtures/Integration/set/@Symfony_whitespaces.test-out.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Acme;
declare(ticks=1);
/**
* Coding standards demonstration.
*/
cla... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky.test-out.php | <?php
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\BaseTestListener;
use PHPUnit\Framework\TestListener;
use PHPUnit\Aaa;
use PHPUnit\Aaa\Bbb;
use PHPUnit\Aaa\Bbb\Ccc;
use PHPUnit\Aaa\Bbb\Ccc\Ddd;
use PHPUnit\Aaa\Bbb\Ccc\Ddd\Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12_php70.test-out.php | tests/Fixtures/Integration/set/@PSR12_php70.test-out.php | <?php
declare(strict_types=1);
function foo(): void
{
}
$class = new class () {};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky_whitespaces.test-in.php | tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky_whitespaces.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicat... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x6Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit5x6Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit4x3Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit4x3Migration-risky.test-in.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertTrue(is_null($foo));
$this->assertTrue(is_array($foo));
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
/**
* Foo.
* @expec... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x2Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHP8x2Migration-risky.test-out.php | <?php declare(strict_types=1);
// https://wiki.php.net/rfc/readonly_classes
readonly class C {}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS3x0.test-out.php | tests/Fixtures/Integration/set/@PER-CS3x0.test-out.php | <?php
namespace Vendor\Package;
use FooInterfaceA;
use FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
use function foo;
use const BAR;
class Foo extends Bar implements FooInterfaceA
{
use FooTrait;
use BarTrait;
public const X = 1;
public const Y = 2;
public $aaa = ... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x3Migration.test-in.php | tests/Fixtures/Integration/set/@PHP8x3Migration.test-in.php | <?php
class Foo {
public const string BAR = 'bar';
}
$ar = 'AR';
echo Foo::{"B${ar}"};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS3x0.test-in.php | tests/Fixtures/Integration/set/@PER-CS3x0.test-in.php | <?
namespace Vendor\Package;
use const BAR;
use function foo;
use \FooInterfaceA, FooInterfaceB;
use \BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA{
const X = 1, Y = 2;
var $aaa = 1, $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, ... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12_whitespaces.test-out.php | tests/Fixtures/Integration/set/@PSR12_whitespaces.test-out.php | <?php
namespace Vendor\Package;
use FooInterfaceA;
use FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA
{
use FooTrait;
use BarTrait;
public $aaa = 1;
public $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = nu... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS2x0_php8x0.test-in.php | tests/Fixtures/Integration/set/@PER-CS2x0_php8x0.test-in.php | <?php
function parametersMultilineWithoutComma(
$x,
$y
) {}
$matchMultilineWithoutComma = match ($a) {
1 => 0,
2 => 1
};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS2x0.test-out.php | tests/Fixtures/Integration/set/@PER-CS2x0.test-out.php | <?php
namespace Vendor\Package;
use FooInterfaceA;
use FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
use function foo;
use const BAR;
class Foo extends Bar implements FooInterfaceA
{
use FooTrait;
use BarTrait;
public $aaa = 1;
public $bbb = 2;
public function sam... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP7x4Migration.test-in.php | tests/Fixtures/Integration/set/@PHP7x4Migration.test-in.php | <?php
declare(strict_types=1);
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace
// 'normalize_index_brace'
$y = $f{1};
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real
$a = (real) $a;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x1Migration.test-in.php | tests/Fixtures/Integration/set/@PHP8x1Migration.test-in.php | <?php
// https://wiki.php.net/rfc/explicit_octal_notation
$a = 016 === 14;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x4Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit5x4Migration-risky.test-out.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP5x4Migration.test-in.php | tests/Fixtures/Integration/set/@PHP5x4Migration.test-in.php | <?php
$arr = array(1, 2, 3);
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit4x8Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit4x8Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit3x2Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit3x2Migration-risky.test-out.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertNull($foo);
$this->assertTrue(is_array($foo));
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
/**
* Foo.
*/
function t... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12-risky.test-in.php | tests/Fixtures/Integration/set/@PSR12-risky.test-in.php | <?php
class Foo
{
public function bar($foo = 1, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x0Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit5x0Migration-risky.test-out.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR2.test-in.php | tests/Fixtures/Integration/set/@PSR2.test-in.php | <?
namespace Vendor\Package;
use FooInterfaceA, FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA{
const SOME_CONST = 42;
var $aaa = 1, $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null)
{
i... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS3x0-risky.test-in.php | tests/Fixtures/Integration/set/@PER-CS3x0-risky.test-in.php | <?php
class Foo
{
public function bar($foo = 1, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PhpCsFixer.test-out.php | tests/Fixtures/Integration/set/@PhpCsFixer.test-out.php | <?php
namespace Vendor\Package;
class Foo
{
public function testStringImplicitBackslashes($a = 'a\b'): string
{
return 'a\b'
.$a
."\n\\a\\b";
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS1x0-risky.test-in.php | tests/Fixtures/Integration/set/@PER-CS1x0-risky.test-in.php | <?php
class Foo
{
public function bar($foo = 1, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP7x4Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHP7x4Migration-risky.test-in.php | <?php
declare(strict_types=1);
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.implode-reverse-parameters
// 'implode_call'
$x = implode($foo, '');
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real
// 'no_alias_functions'
$z2 = is_rea... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x5Migration.test-in.php | tests/Fixtures/Integration/set/@PHP8x5Migration.test-in.php | <?php
// https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_semicolon_after_case_in_switch_statement
switch ($value) {
case 'foo';
case 'bar':
case 'baz';
echo 'foo, bar, or baz';
break;
default;
echo 'Other';
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS3x0_php8x0.test-out.php | tests/Fixtures/Integration/set/@PER-CS3x0_php8x0.test-out.php | <?php
function parametersMultilineWithoutComma(
string|float|null $x,
?int $y,
) {}
$matchMultilineWithoutComma = match ($a) {
1 => 0,
2 => 1,
};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit3x5Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit3x5Migration-risky.test-out.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertNull($foo);
$this->assertInternalType('array', $foo);
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
/**
* Foo.
*/
fun... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR2_whitespaces.test-in.php | tests/Fixtures/Integration/set/@PSR2_whitespaces.test-in.php | <?
namespace Vendor\Package;
use FooInterfaceA, FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterface{
var $aaa = 1, $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null)
{
if ($a === $b) {
b... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x2Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHP8x2Migration-risky.test-in.php | <?php declare(strict_types=1);
// https://wiki.php.net/rfc/readonly_classes
/** @readonly */
class C {}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x0Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit5x0Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PhpCsFixer.test-in.php | tests/Fixtures/Integration/set/@PhpCsFixer.test-in.php | <?
namespace Vendor\Package;
class Foo{
public function testStringImplicitBackslashes($a = 'a\\b'): string
{
return 'a\\b'
. $a
. "\n\\a\b";
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x0Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHP8x0Migration-risky.test-out.php | <?php
declare(strict_types=1);
$pieces = [1, 2];
$f = implode('', $pieces);
echo time();
$exif = exif_read_data('tests/test1.jpg', 'IFD0');
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit4x3Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit4x3Migration-risky.test-out.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertNull($foo);
$this->assertInternalType('array', $foo);
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
/**
* Foo.
*/
fun... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS1x0.test-in.php | tests/Fixtures/Integration/set/@PER-CS1x0.test-in.php | <?
namespace Vendor\Package;
use const BAR;
use function foo;
use \FooInterfaceA, FooInterfaceB;
use \BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA{
var $aaa = 1, $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null)
{
... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit9x1Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit9x1Migration-risky.test-out.php | <?php
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\BaseTestListener;
use PHPUnit\Framework\TestListener;
use PHPUnit\Aaa;
use PHPUnit\Aaa\Bbb;
use PHPUnit\Aaa\Bbb\Ccc;
use PHPUnit\Aaa\Bbb\Ccc\Ddd;
use PHPUnit\Aaa\Bbb\Ccc\Ddd\Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x1Migration.test-out.php | tests/Fixtures/Integration/set/@PHP8x1Migration.test-out.php | <?php
// https://wiki.php.net/rfc/explicit_octal_notation
$a = 0o16 === 14;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky_whitespaces.test-out.php | tests/Fixtures/Integration/set/@PHPUnit6x0Migration-risky_whitespaces.test-out.php | <?php
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\BaseTestListener;
use PHPUnit\Framework\TestListener;
use PHPUnit\Aaa;
use PHPUnit\Aaa\Bbb;
use PHPUnit\Aaa\Bbb\Ccc;
use PHPUnit\Aaa\Bbb\Ccc\Ddd;
use PHPUnit\Aaa\Bbb\Ccc\Ddd\Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedicat... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x2Migration.test-out.php | tests/Fixtures/Integration/set/@PHP8x2Migration.test-out.php | <?php
$name = 'World';
echo "Hello {$name}!";
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12.test-in.php | tests/Fixtures/Integration/set/@PSR12.test-in.php | <?
namespace Vendor\Package;
use const BAR;
use function foo;
use \FooInterfaceA, FooInterfaceB;
use \BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA{
var $aaa = 1, $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null)
{
... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x3Migration.test-out.php | tests/Fixtures/Integration/set/@PHP8x3Migration.test-out.php | <?php
class Foo {
public const string BAR = 'bar';
}
$ar = 'AR';
echo Foo::{"B{$ar}"};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x6Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHPUnit5x6Migration-risky.test-out.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit\Framework\TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x2Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit5x2Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12-risky.test-out.php | tests/Fixtures/Integration/set/@PSR12-risky.test-out.php | <?php
class Foo
{
public function bar($foo, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit3x5Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit3x5Migration-risky.test-in.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertTrue(is_null($foo));
$this->assertTrue(is_array($foo));
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
/**
* Foo.
* @expec... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR2.test-out.php | tests/Fixtures/Integration/set/@PSR2.test-out.php | <?php
namespace Vendor\Package;
use FooInterfaceA;
use FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;
class Foo extends Bar implements FooInterfaceA
{
const SOME_CONST = 42;
public $aaa = 1;
public $bbb = 2;
public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x5Migration.test-out.php | tests/Fixtures/Integration/set/@PHP8x5Migration.test-out.php | <?php
// https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_semicolon_after_case_in_switch_statement
switch ($value) {
case 'foo':
case 'bar':
case 'baz':
echo 'foo, bar, or baz';
break;
default:
echo 'Other';
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP5x4Migration.test-out.php | tests/Fixtures/Integration/set/@PHP5x4Migration.test-out.php | <?php
$arr = [1, 2, 3];
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit3x0Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit3x0Migration-risky.test-in.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertTrue(is_null($foo));
$this->assertTrue(is_array($foo));
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12_php71.test-out.php | tests/Fixtures/Integration/set/@PSR12_php71.test-out.php | <?php
class Foo
{
public const FOO = 'foo';
public function bar(): ?int
{
return 0;
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x4Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit5x4Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit9x1Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit9x1Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@Symfony.test-out.php | tests/Fixtures/Integration/set/@Symfony.test-out.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Acme;
declare(ticks=1);
/**
* Coding standards demonstration.
*/
cla... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x4Migration.test-out.php | tests/Fixtures/Integration/set/@PHP8x4Migration.test-out.php | <?php
function sample(?string $str = null) {}
new DateTime()->getTimestamp();
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS2x0-risky.test-out.php | tests/Fixtures/Integration/set/@PER-CS2x0-risky.test-out.php | <?php
class Foo
{
public function bar($foo, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@Symfony.test-in.php | tests/Fixtures/Integration/set/@Symfony.test-in.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Acme;
declare(ticks=1);
/**
* Coding standards demonstration.
*/
cla... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12_php70.test-in.php | tests/Fixtures/Integration/set/@PSR12_php70.test-in.php | <?php
declare(strict_types = 1 );
function foo() : void
{
}
$class = new class() {};
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@DoctrineAnnotation.test-in.php | tests/Fixtures/Integration/set/@DoctrineAnnotation.test-in.php | <?php
/**
* @Bar()
* @Baz(
* arg1 = "baz" ,
* arg2 ={
* "baz" =true
* }
* )
*/
class Foo
{
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS2x0-risky.test-in.php | tests/Fixtures/Integration/set/@PER-CS2x0-risky.test-in.php | <?php
class Foo
{
public function bar($foo = 1, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x4Migration.test-in.php | tests/Fixtures/Integration/set/@PHP8x4Migration.test-in.php | <?php
function sample(string $str = null) {}
(new DateTime())->getTimestamp();
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP7x4Migration-risky.test-out.php | tests/Fixtures/Integration/set/@PHP7x4Migration-risky.test-out.php | <?php
declare(strict_types=1);
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.implode-reverse-parameters
// 'implode_call'
$x = implode('', $foo);
// https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real
// 'no_alias_functions'
$z2 = is_flo... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x2Migration.test-in.php | tests/Fixtures/Integration/set/@PHP8x2Migration.test-in.php | <?php
$name = 'World';
echo "Hello ${name}!";
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PSR12_php71.test-in.php | tests/Fixtures/Integration/set/@PSR12_php71.test-in.php | <?php
class Foo
{
const FOO = 'foo';
public function bar(): ? int
{
return 0;
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHP8x0Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHP8x0Migration-risky.test-in.php | <?php
declare(strict_types=1);
$pieces = [1, 2];
$f = implode($pieces, '');
echo mktime();
$exif = read_exif_data('tests/test1.jpg', 'IFD0');
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit5x7Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit5x7Migration-risky.test-in.php | <?php
use PHPUnit_Framework_Assert;
use PHPUnit_Framework_BaseTestListener;
use PHPUnit_Framework_TestListener;
use PHPUnit_Aaa;
use PHPUnit_Aaa_Bbb;
use PHPUnit_Aaa_Bbb_Ccc;
use PHPUnit_Aaa_Bbb_Ccc_Ddd;
use PHPUnit_Aaa_Bbb_Ccc_Ddd_Eee;
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedi... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@Symfony-risky.test-out.php | tests/Fixtures/Integration/set/@Symfony-risky.test-out.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Acme;
declare(ticks=1);
final class MyClass
{
function finalMethod... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PER-CS3x0-risky.test-out.php | tests/Fixtures/Integration/set/@PER-CS3x0-risky.test-out.php | <?php
class Foo
{
public function bar($foo, $bar)
{
}
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Integration/set/@PHPUnit3x2Migration-risky.test-in.php | tests/Fixtures/Integration/set/@PHPUnit3x2Migration-risky.test-in.php | <?php
class FooTest extends \PHPUnit_Framework_TestCase {
public function test_dedicate_assert($foo) {
$this->assertTrue(is_null($foo));
$this->assertTrue(is_array($foo));
$this->assertTrue(is_nan($foo));
$this->assertTrue(is_readable($foo));
}
/**
* Foo.
* @expec... | php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Linter/multiple.php | tests/Fixtures/Linter/multiple.php | <?php
class Foo {
public protected $foo;
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Linter/invalid.php | tests/Fixtures/Linter/invalid.php | <?php
print "line 2";
print "line 3";
print "line 4";
echo echo;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/Linter/valid.php | tests/Fixtures/Linter/valid.php | <?php echo 123;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/encoding/test-utf8.case2.php | tests/Fixtures/FixerTest/encoding/test-utf8.case2.php | abc
<?php
echo 'ą';
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/encoding/test-utf8.case2-bom.php | tests/Fixtures/FixerTest/encoding/test-utf8.case2-bom.php | abc
<?php
echo 'ą';
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/encoding/test-utf8.case1-bom.php | tests/Fixtures/FixerTest/encoding/test-utf8.case1-bom.php | <?php
echo 'ą';
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/encoding/test-utf8.case1.php | tests/Fixtures/FixerTest/encoding/test-utf8.case1.php | <?php
echo 'ą';
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/rule-ignored-by-tag/B-with-ignore-tag.php | tests/Fixtures/FixerTest/rule-ignored-by-tag/B-with-ignore-tag.php | <?php
assert(2222 > 0);
// @php-cs-fixer-ignore numeric_literal_separator
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/rule-ignored-by-tag/A-without-ignore-tag.php | tests/Fixtures/FixerTest/rule-ignored-by-tag/A-without-ignore-tag.php | <?php
assert(1111 > 0);
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/rule-customisation/C.php | tests/Fixtures/FixerTest/rule-customisation/C.php | <?php
namespace Test\RC;
class C
{
public const X = array();
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/rule-customisation/D.php | tests/Fixtures/FixerTest/rule-customisation/D.php | <?php
namespace Test\RC;
class C
{
public const X = [];
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/rule-customisation/A.php | tests/Fixtures/FixerTest/rule-customisation/A.php | <?php
namespace Test\RC;
class A
{
public const X = array();
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/rule-customisation/B.php | tests/Fixtures/FixerTest/rule-customisation/B.php | <?php
namespace Test\RC;
class B
{
public const X = array();
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/fix/somefile2.php | tests/Fixtures/FixerTest/fix/somefile2.php | <?php
namespace Test\AAaa;
class test
{
var $testA;
public $test_B;
public $testC;
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/fix/somefile.php | tests/Fixtures/FixerTest/fix/somefile.php | <?php
namespace Test\AAaa;
class test
{
var $testA;
public $test_B;
public $testC;
}
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/FixerTest/invalid/somefile.php | tests/Fixtures/FixerTest/invalid/somefile.php | <?php
namespace Test\BBbb;
class test
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/ci-integration/.php-cs-fixer.dist.php | tests/Fixtures/ci-integration/.php-cs-fixer.dist.php | <?php
return (new PhpCsFixer\Config())
->setRules(array(
'@Symfony' => true,
))
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
)
;
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/ci-integration/dir c/file c.php | tests/Fixtures/ci-integration/dir c/file c.php | <?php
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/ci-integration/dir a/file a.php | tests/Fixtures/ci-integration/dir a/file a.php | <?php
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
PHP-CS-Fixer/PHP-CS-Fixer | https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/63b024eaaf8a48445494964bd21a6c38c788f40f/tests/Fixtures/ci-integration/dir b/file b.php | tests/Fixtures/ci-integration/dir b/file b.php | <?php
| php | MIT | 63b024eaaf8a48445494964bd21a6c38c788f40f | 2026-01-04T15:02:54.911792Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.