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
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/PrivatizeConstantsCommand.php
src/Command/PrivatizeConstantsCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\FileSystem; use Nette\Utils\Strings; use Rector\SwissKnife\Contract\ClassConstantFetchInterface; use Rector\SwissKnife\Finder\PhpFilesFinder; use Rector\SwissKnife\PhpParser\Finder\ClassConstantFetchFinder; use Rector\SwissKnife\PhpP...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/GenerateSymfonyConfigBuildersCommand.php
src/Command/GenerateSymfonyConfigBuildersCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Rector\SwissKnife\Enum\SymfonyExtensionClass; use ReflectionClass; use Symfony\Component\Config\Builder\ConfigBuilderGenerator; use Symfony\Component\Config\Definition\ConfigurationInterface; use Symfony\Component\Console\Command\Command; use Sy...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/FindMultiClassesCommand.php
src/Command/FindMultiClassesCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Rector\SwissKnife\FileSystem\PathHelper; use Rector\SwissKnife\Finder\MultipleClassInOneFileFinder; use Rector\SwissKnife\Finder\PhpFilesFinder; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; us...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/PrettyJsonCommand.php
src/Command/PrettyJsonCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\FileSystem; use Nette\Utils\Json; use Rector\SwissKnife\FileSystem\JsonAnalyzer; use Rector\SwissKnife\Finder\FilesFinder; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/AliceYamlFixturesToPhpCommand.php
src/Command/AliceYamlFixturesToPhpCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\FileSystem; use PhpParser\BuilderHelpers; use PhpParser\Node\Stmt\Return_; use PhpParser\PrettyPrinter\Standard; use Rector\SwissKnife\Finder\FilesFinder; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\I...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/FinalizeClassesCommand.php
src/Command/FinalizeClassesCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\FileSystem; use Nette\Utils\Strings; use Rector\SwissKnife\Analyzer\NeedsFinalizeAnalyzer; use Rector\SwissKnife\EntityClassResolver; use Rector\SwissKnife\FileSystem\PathHelper; use Rector\SwissKnife\Finder\PhpFilesFinder; use Recto...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/CheckCommentedCodeCommand.php
src/Command/CheckCommentedCodeCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Rector\SwissKnife\Comments\CommentedCodeAnalyzer; use Rector\SwissKnife\Finder\PhpFilesFinder; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; ...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/DumpEditorconfigCommand.php
src/Command/DumpEditorconfigCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\FileSystem; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; final class DumpE...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/NamespaceToPSR4Command.php
src/Command/NamespaceToPSR4Command.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\FileSystem; use Nette\Utils\Strings; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOptio...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/SearchRegexCommand.php
src/Command/SearchRegexCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Nette\Utils\Strings; use Rector\SwissKnife\Finder\PhpFilesFinder; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/src/Command/CheckConflictsCommand.php
src/Command/CheckConflictsCommand.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Command; use Rector\SwissKnife\Finder\FilesFinder; use Rector\SwissKnife\Git\ConflictResolver; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\C...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/AbstractTestCase.php
tests/AbstractTestCase.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests; use Illuminate\Container\Container; use PHPUnit\Framework\TestCase; use Rector\SwissKnife\DependencyInjection\ContainerFactory; abstract class AbstractTestCase extends TestCase { private Container $container; protected function setUp(): void...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/EntityClassResolver/EntityClassResolverTest.php
tests/EntityClassResolver/EntityClassResolverTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\EntityClassResolver; use Rector\SwissKnife\EntityClassResolver; use Rector\SwissKnife\Tests\AbstractTestCase; use Rector\SwissKnife\Tests\EntityClassResolver\Fixture\Anything\SomeAttributeDocument; use Rector\SwissKnife\Tests\EntityClassResolver\Fixtur...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/EntityClassResolver/Fixture/Entity/SomeEntity.php
tests/EntityClassResolver/Fixture/Entity/SomeEntity.php
<?php namespace Rector\SwissKnife\Tests\EntityClassResolver\Fixture\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity */ class SomeEntity { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/EntityClassResolver/Fixture/Anything/SomeDocument.php
tests/EntityClassResolver/Fixture/Anything/SomeDocument.php
<?php namespace Rector\SwissKnife\Tests\EntityClassResolver\Fixture\Anything; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; /** * @MongoDB\EmbeddedDocument() */ class SomeDocument { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/EntityClassResolver/Fixture/Anything/SomeAttributeDocument.php
tests/EntityClassResolver/Fixture/Anything/SomeAttributeDocument.php
<?php namespace Rector\SwissKnife\Tests\EntityClassResolver\Fixture\Anything; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; #[MongoDB\Document] class SomeAttributeDocument { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/UnitTestFilePathsFinder/UnitTestFilePathsFinderTest.php
tests/Testing/UnitTestFilePathsFinder/UnitTestFilePathsFinderTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Testing\UnitTestFilePathsFinder; use PHPUnit\Framework\TestCase; use Rector\SwissKnife\Testing\Finder\TestCaseClassFinder; use Rector\SwissKnife\Testing\UnitTestFilePathsFinder; use Rector\SwissKnife\Testing\UnitTestFilter; use Rector\SwissKnife\Tests\...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/UnitTestFilePathsFinder/Fixture/RandomTest.php
tests/Testing/UnitTestFilePathsFinder/Fixture/RandomTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Testing\UnitTestFilePathsFinder\Fixture; use PHPUnit\Framework\TestCase; final class RandomTest extends TestCase { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/UnitTestFilePathsFinder/Fixture/OldSchoolTest.php
tests/Testing/UnitTestFilePathsFinder/Fixture/OldSchoolTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Testing\UnitTestFilePathsFinder\Fixture; use PHPUnit_Framework_TestCase; final class OldSchoolTest extends PHPUnit_Framework_TestCase { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/UnitTestFilePathsFinder/Fixture/IntegrationTest.php
tests/Testing/UnitTestFilePathsFinder/Fixture/IntegrationTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Testing\UnitTestFilePathsFinder\Fixture; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; final class IntegrationTest extends KernelTestCase { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/MockWire/MockWireTest.php
tests/Testing/MockWire/MockWireTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Testing\MockWire; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use Rector\SwissKnife\Testing\MockWire; use Rector\SwissKnife\Tests\Testing\MockWire\Fixture\ClassWithConstructorDependencies; use Rector\SwissKnife\Tests\Te...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/MockWire/Fixture/ClassWithConstructorDependencies.php
tests/Testing/MockWire/Fixture/ClassWithConstructorDependencies.php
<?php namespace Rector\SwissKnife\Tests\Testing\MockWire\Fixture; final class ClassWithConstructorDependencies { public function __construct( private FirstDependency $firstDependency, private SecondDependency $secondDependency, ) { } public function getFirstDependency(): FirstDependen...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/MockWire/Fixture/FirstDependency.php
tests/Testing/MockWire/Fixture/FirstDependency.php
<?php namespace Rector\SwissKnife\Tests\Testing\MockWire\Fixture; class FirstDependency { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Testing/MockWire/Fixture/SecondDependency.php
tests/Testing/MockWire/Fixture/SecondDependency.php
<?php namespace Rector\SwissKnife\Tests\Testing\MockWire\Fixture; class SecondDependency { public function getName() { } }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Git/ConflictResolver/ConflictResolverTest.php
tests/Git/ConflictResolver/ConflictResolverTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Git\ConflictResolver; use Iterator; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; use Rector\SwissKnife\Git\ConflictResolver; final class ConflictResolverTest extends TestCase { private ConflictResolver $conflictRe...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Helpers/Fixture/SomeClass.php
tests/Helpers/Fixture/SomeClass.php
<?php namespace Rector\SwissKnife\Tests\Helpers\Fixture; class SomeClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Finder/PhpFilesFinderTest.php
tests/Finder/PhpFilesFinderTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Finder; use Rector\SwissKnife\Finder\PhpFilesFinder; use Rector\SwissKnife\Tests\AbstractTestCase; final class PhpFilesFinderTest extends AbstractTestCase { public function testExcludeByFnMatch(): void { $files = PhpFilesFinder::find([...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Finder/Fixture/AModel.php
tests/Finder/Fixture/AModel.php
<?php // intentional left empty
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Finder/Fixture/BController.php
tests/Finder/Fixture/BController.php
<?php // intentional left empty
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Finder/Fixture/AController.php
tests/Finder/Fixture/AController.php
<?php // intentional left empty
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Twig/TwigTemplateConstantExtractor/TwigTemplateConstantExtractorTest.php
tests/Twig/TwigTemplateConstantExtractor/TwigTemplateConstantExtractorTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Twig\TwigTemplateConstantExtractor; use Rector\SwissKnife\Contract\ClassConstantFetchInterface; use Rector\SwissKnife\Tests\AbstractTestCase; use Rector\SwissKnife\Tests\Twig\TwigTemplateConstantExtractor\Fixture\SomeTemplateUsedConstant; use Rector\Sw...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Twig/TwigTemplateConstantExtractor/Fixture/SomeTemplateUsedConstant.php
tests/Twig/TwigTemplateConstantExtractor/Fixture/SomeTemplateUsedConstant.php
<?php namespace Rector\SwissKnife\Tests\Twig\TwigTemplateConstantExtractor\Fixture; final class SomeTemplateUsedConstant { public const STAY_PUBLIC = true; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Traits/TraitSpotterTest.php
tests/Traits/TraitSpotterTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Traits; use Rector\SwissKnife\Tests\AbstractTestCase; use Rector\SwissKnife\Traits\TraitSpotter; use Rector\SwissKnife\ValueObject\Traits\TraitMetadata; final class TraitSpotterTest extends AbstractTestCase { public function test(): void { ...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Traits/Fixture/TraitUser.php
tests/Traits/Fixture/TraitUser.php
<?php namespace Rector\SwissKnife\Tests\Traits\Fixture; final class TraitUser { use SomeTrait; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Traits/Fixture/SomeTrait.php
tests/Traits/Fixture/SomeTrait.php
<?php namespace Rector\SwissKnife\Tests\Traits\Fixture; trait SomeTrait { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Traits/Fixture/AnotherTrait.php
tests/Traits/Fixture/AnotherTrait.php
<?php namespace Rector\SwissKnife\Tests\Traits\Fixture; trait AnotherTrait { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/YAML/YamlConfigConstantExtractor/YamlConfigConstantExtractorTest.php
tests/YAML/YamlConfigConstantExtractor/YamlConfigConstantExtractorTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\YAML\YamlConfigConstantExtractor; use Rector\SwissKnife\Tests\AbstractTestCase; use Rector\SwissKnife\Tests\YAML\YamlConfigConstantExtractor\Fixture\SomeClassWithConstant; use Rector\SwissKnife\YAML\YamlConfigConstantExtractor; final class YamlConfigC...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/YAML/YamlConfigConstantExtractor/Fixture/SomeClassWithConstant.php
tests/YAML/YamlConfigConstantExtractor/Fixture/SomeClassWithConstant.php
<?php namespace Rector\SwissKnife\Tests\YAML\YamlConfigConstantExtractor\Fixture; final class SomeClassWithConstant { public const USE_ME_IN_YAML = 'value'; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstFinder/ClassConstFinderTest.php
tests/PhpParser/Finder/ClassConstFinder/ClassConstFinderTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstFinder; use Iterator; use PHPUnit\Framework\Attributes\DataProvider; use Rector\SwissKnife\PhpParser\Finder\ClassConstFinder; use Rector\SwissKnife\Tests\AbstractTestCase; final class ClassConstFinderTest extends AbstractTes...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstFinder/Fixture/AbstractParentClass.php
tests/PhpParser/Finder/ClassConstFinder/Fixture/AbstractParentClass.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstFinder\Fixture; abstract class AbstractParentClass { public const NAME = 'some name'; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstFinder/Fixture/SomeClassWithInterfaceImplemented.php
tests/PhpParser/Finder/ClassConstFinder/Fixture/SomeClassWithInterfaceImplemented.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstFinder\Fixture; final class SomeClassWithInterfaceImplemented implements InterfaceWithConstant { public const NAME = 'some_value'; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstFinder/Fixture/InterfaceWithConstant.php
tests/PhpParser/Finder/ClassConstFinder/Fixture/InterfaceWithConstant.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstFinder\Fixture; interface InterfaceWithConstant { public const NAME = null; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstFinder/Fixture/SomeClassWithConstants.php
tests/PhpParser/Finder/ClassConstFinder/Fixture/SomeClassWithConstants.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstFinder\Fixture; final class SomeClassWithConstants extends AbstractParentClass { public const NAME = 'som_value'; public const SOME_CONST = 'som_value'; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/ClassConstantFetchFinderTest.php
tests/PhpParser/Finder/ClassConstantFetchFinder/ClassConstantFetchFinderTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstantFetchFinder; use Rector\SwissKnife\Contract\ClassConstantFetchInterface; use Rector\SwissKnife\Finder\PhpFilesFinder; use Rector\SwissKnife\PhpParser\Finder\ClassConstantFetchFinder; use Rector\SwissKnife\Tests\AbstractTes...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Skip/SomeEnum.php
tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Skip/SomeEnum.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstantFetchFinder\Fixture\Skip; enum SomeEnum { public const VALUE = 1000; public function run() { return self::VALUE; } }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Skip/SomeTrait.php
tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Skip/SomeTrait.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstantFetchFinder\Fixture\Skip; trait SomeTrait { public const VALUE = 1000; public function run() { return self::VALUE; } }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Skip/SomeInterface.php
tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Skip/SomeInterface.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstantFetchFinder\Fixture\Skip; interface SomeInterface { public const VALUE = 1000; public function go($input = self::VALUE); }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Standard/SomeFileWithConstants.php
tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Standard/SomeFileWithConstants.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstantFetchFinder\Fixture\Standard; final class SomeFileWithConstants { private const LOCAL_CONSTANT = 'local'; public function run() { $localConstant = self::LOCAL_CONSTANT; return AnotherClassWith...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Standard/AnotherClassWithConstant.php
tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Standard/AnotherClassWithConstant.php
<?php namespace Rector\SwissKnife\Tests\PhpParser\Finder\ClassConstantFetchFinder\Fixture\Standard; final class AnotherClassWithConstant { public const ANOTHER_CONSTANT = 'another'; }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Error/ParseError.php
tests/PhpParser/Finder/ClassConstantFetchFinder/Fixture/Error/ParseError.php
<?php namespace ParseError; function doFoo() { // this file intentionally contains this parse error $x ABC }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/Comments/CommentedCodeAnalyzerTest.php
tests/Comments/CommentedCodeAnalyzerTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\Comments; use PHPUnit\Framework\TestCase; use Rector\SwissKnife\Comments\CommentedCodeAnalyzer; final class CommentedCodeAnalyzerTest extends TestCase { private CommentedCodeAnalyzer $commentedCodeAnalyzer; protected function setUp(): void ...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/NeedsFinalizeAnalyzer/NeedsFinalizeAnalyzerTest.php
tests/NeedsFinalizeAnalyzer/NeedsFinalizeAnalyzerTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\NeedsFinalizeAnalyzer; use PHPUnit\Framework\Attributes\DataProvider; use Rector\SwissKnife\Analyzer\NeedsFinalizeAnalyzer; use Rector\SwissKnife\PhpParser\CachedPhpParser; use Rector\SwissKnife\Tests\AbstractTestCase; final class NeedsFinalizeAnalyze...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/ParentClassResolverTest.php
tests/ParentClassResolver/ParentClassResolverTest.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver; use Rector\SwissKnife\Finder\PhpFilesFinder; use Rector\SwissKnife\ParentClassResolver; use Rector\SwissKnife\Tests\AbstractTestCase; use Rector\SwissKnife\Tests\ParentClassResolver\Fixture\AbstractParentClass; use Rector\SwissKnif...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/AbstractParentClass.php
tests/ParentClassResolver/Fixture/AbstractParentClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; abstract class AbstractParentClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/ChildOfParentClass.php
tests/ParentClassResolver/Fixture/ChildOfParentClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; class ChildOfParentClass extends ParentClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/NonParentClass.php
tests/ParentClassResolver/Fixture/NonParentClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; class NonParentClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/ChildOfAbstractParentClass.php
tests/ParentClassResolver/Fixture/ChildOfAbstractParentClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; class ChildOfAbstractParentClass extends AbstractParentClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/FinalClass.php
tests/ParentClassResolver/Fixture/FinalClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; final class FinalClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/ParentClassInSeparateNamespace.php
tests/ParentClassResolver/Fixture/ParentClassInSeparateNamespace.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; class ParentClassInSeparateNamespace { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/ParentClass.php
tests/ParentClassResolver/Fixture/ParentClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; class ParentClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/AbstractNonParentClass.php
tests/ParentClassResolver/Fixture/AbstractNonParentClass.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture; abstract class AbstractNonParentClass { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/ParentClassResolver/Fixture/SeparateNamespace/ChildOfParentClassInSeparateNamespace.php
tests/ParentClassResolver/Fixture/SeparateNamespace/ChildOfParentClassInSeparateNamespace.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\ParentClassResolver\Fixture\SeparateNamespace; use Rector\SwissKnife\Tests\ParentClassResolver\Fixture\ParentClassInSeparateNamespace; final class ChildOfParentClassInSeparateNamespace extends ParentClassInSeparateNamespace { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/tests/SomeBundle/RealClassBundle.php
tests/SomeBundle/RealClassBundle.php
<?php declare(strict_types=1); namespace Rector\SwissKnife\Tests\SomeBundle; /** * To determine bundle prefix */ final class RealClassBundle { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/build/rector-downgrade-php.php
build/rector-downgrade-php.php
<?php declare(strict_types=1); use Rector\Config\RectorConfig; return RectorConfig::configure() ->withDowngradeSets(php72: true) ->withSkip([ '*/Tests/*', '*/tests/*', ]);
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/bin/swiss-knife.php
bin/swiss-knife.php
<?php declare(strict_types=1); use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Output\ConsoleOutput; use Rector\SwissKnife\DependencyInjection\ContainerFactory; $scoperAutoloadFilepath = __DIR__ . '/../vendor/scoper-autoload.php'; if (file_exist...
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/stubs/PHPUnit/PHPUnit_Framework_TestCase.php
stubs/PHPUnit/PHPUnit_Framework_TestCase.php
<?php declare(strict_types=1); if (class_exists('PHPUnit_Framework_TestCase')) { return; } abstract class PHPUnit_Framework_TestCase { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/stubs/PHPUnit/KernelTestCase.php
stubs/PHPUnit/KernelTestCase.php
<?php class KernelTestCase { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/stubs/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
stubs/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
<?php namespace Symfony\Bundle\FrameworkBundle\Test; class KernelTestCase { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
rectorphp/swiss-knife
https://github.com/rectorphp/swiss-knife/blob/d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb/stubs/Behat/Step/Then.php
stubs/Behat/Step/Then.php
<?php namespace Behat\Step; if (class_exists('Behat\Step\Then')) { return; } #[\Attribute] class Then { }
php
MIT
d96dc4b28f36f7bb86d4dde93b34d80b3a46ffbb
2026-01-05T02:28:58.319812Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/index.php
index.php
<?php /** * Lithium: the most rad php framework * * @copyright Copyright 2009, Union of RAD (http://union-of-rad.org) * @license http://opensource.org/licenses/bsd-license.php The BSD License */ /** * This file may act as a forwarder for the actual front-controller within `app/webroot/index.php`. * Th...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/webroot/index.php
webroot/index.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ /** * Welcome to Lithium! This front-controller f...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/controllers/PagesController.php
controllers/PagesController.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\controllers; /** * This controller...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/views/pages/home.html.php
views/pages/home.html.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ use lithium\core\Libraries; use lithium\core\Envir...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/views/layouts/default.html.php
views/layouts/default.html.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ ?> <!doctype html> <html> <head> <?php echo $this-...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/views/layouts/error.html.php
views/layouts/error.html.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2011, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ /** * This layout is used to render error pages i...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/views/layouts/default.xml.php
views/layouts/default.xml.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ ?> <?php echo '<' . '?xml version="1.0" ?' . '>'; ?...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/views/_errors/development.html.php
views/_errors/development.html.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2011, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ use lithium\analysis\Debugger; use lithium\analysi...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/routes.php
config/routes.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config; /** * The routes file is w...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap.php
config/bootstrap.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config; /** * This is the primary ...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/action.php
config/bootstrap/action.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use Exception; us...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/errors.php
config/bootstrap/errors.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2011, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\actio...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/session.php
config/bootstrap/session.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\stora...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/cache.php
config/bootstrap/cache.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\actio...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/media.php
config/bootstrap/media.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\net\h...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/g11n.php
config/bootstrap/g11n.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\actio...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/libraries.php
config/bootstrap/libraries.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; /** * The librar...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/connections.php
config/bootstrap/connections.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\data\...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
UnionOfRAD/framework
https://github.com/UnionOfRAD/framework/blob/8a93a9ec599c3bbb6fe31fddafc0023a23206856/config/bootstrap/console.php
config/bootstrap/console.php
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2010, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace app\config\bootstrap; use lithium\aop\F...
php
BSD-3-Clause
8a93a9ec599c3bbb6fe31fddafc0023a23206856
2026-01-05T02:29:47.451821Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/routes.php
app/routes.php
<?php use App\Controllers\Auth\AuthController; use App\Controllers\Auth\PasswordController; use App\Controllers\HomeController; use App\Middleware\AuthMiddleware; use App\Middleware\GuestMiddleware; $app->get('/', HomeController::class . ':index')->setName('home'); $app->group('', function ($group) { $group->get('/a...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Controllers/Controller.php
app/Controllers/Controller.php
<?php namespace App\Controllers; use DI\Container; /** * Controller * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class Controller { protected $container; public function __construct(Container $container) { $this->container = $container; } public function _...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Controllers/HomeController.php
app/Controllers/HomeController.php
<?php namespace App\Controllers; use App\Models\User; /** * HomeController * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class HomeController extends Controller { public function index($request, $response) { return $this->view->render($response,'home.twig'); } ...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Controllers/Auth/AuthController.php
app/Controllers/Auth/AuthController.php
<?php namespace App\Controllers\Auth; use App\Models\User; use App\Controllers\Controller; use Respect\Validation\Validator as v; /** * AuthController * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class AuthController extends Controller { public function getSignOut...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Controllers/Auth/PasswordController.php
app/Controllers/Auth/PasswordController.php
<?php namespace App\Controllers\Auth; use App\Models\User; use App\Controllers\Controller; use Respect\Validation\Validator as v; /** * PasswordController * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class PasswordController extends Controller { public function ge...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Auth/Auth.php
app/Auth/Auth.php
<?php namespace App\Auth; use App\Models\User; /** * Auth * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class Auth { public function user() { return User::find(isset($_SESSION['user']) ? $_SESSION['user'] : 0); } public function check() { return isset($_SE...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Validation/Validator.php
app/Validation/Validator.php
<?php namespace App\Validation; use Respect\Validation\Validator as Respect; use Respect\Validation\Exceptions\NestedValidationException; /** * Validator * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class Validator { protected $errors; public function validate($...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Validation/Exceptions/EmailAvailableException.php
app/Validation/Exceptions/EmailAvailableException.php
<?php namespace App\Validation\Exceptions; use Respect\Validation\Exceptions\ValidationException; /** * EmailAvailableException * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class EmailAvailableException extends ValidationException { public static $defaultTemplate...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Validation/Exceptions/MatchesPasswordException.php
app/Validation/Exceptions/MatchesPasswordException.php
<?php namespace App\Validation\Exceptions; use Respect\Validation\Exceptions\ValidationException; /** * MatchesPasswordException * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class MatchesPasswordException extends ValidationException { public static $defaultTemplat...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Validation/Rules/MatchesPassword.php
app/Validation/Rules/MatchesPassword.php
<?php namespace App\Validation\Rules; use App\Models\User; use Respect\Validation\Rules\AbstractRule; /** * MatchesPassword * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class MatchesPassword extends AbstractRule { protected $password; public function __construct...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Validation/Rules/EmailAvailable.php
app/Validation/Rules/EmailAvailable.php
<?php namespace App\Validation\Rules; use App\Models\User; use Respect\Validation\Rules\AbstractRule; /** * EmailAvailable * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class EmailAvailable extends AbstractRule { public function validate($input) { return User::...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Middleware/ValidationErrorsMiddleware.php
app/Middleware/ValidationErrorsMiddleware.php
<?php namespace App\Middleware; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Server\RequestHandlerInterface as RequestHandler; use Slim\Psr7\Response; /** * ValidationErrorsMiddleware * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class Valida...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false