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 |
|---|---|---|---|---|---|---|---|---|
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/IsCountableTest.php | test/IsCountableTest.php | <?php
/**
* @see https://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-validator/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Valid... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/MessageTest.php | test/MessageTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/DateStepTest.php | test/DateStepTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/IdenticalTest.php | test/IdenticalTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/IpTest.php | test/IpTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/AbstractTest.php | test/AbstractTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/CallbackTest.php | test/CallbackTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/StaticValidatorTest.php | test/StaticValidatorTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/UndisclosedPasswordTest.php | test/UndisclosedPasswordTest.php | <?php
/**
* @link http://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ZendTest\Validator;
use PHPUnit\Framework\... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/LessThanTest.php | test/LessThanTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/BarcodeTest.php | test/BarcodeTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Db/RecordExistsTest.php | test/Db/RecordExistsTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Db/NoRecordExistsTest.php | test/Db/NoRecordExistsTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Db/AbstractDbTest.php | test/Db/AbstractDbTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Db/TestAsset/TrustingSql92Platform.php | test/Db/TestAsset/TrustingSql92Platform.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Db/TestAsset/ConcreteDbValidator.php | test/Db/TestAsset/ConcreteDbValidator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/EmailValidatorWithExposedIsReserved.php | test/TestAsset/EmailValidatorWithExposedIsReserved.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/ArrayTranslator.php | test/TestAsset/ArrayTranslator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/ConcreteValidator.php | test/TestAsset/ConcreteValidator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/Translator.php | test/TestAsset/Translator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/HttpClientException.php | test/TestAsset/HttpClientException.php | <?php
namespace ZendTest\Validator\TestAsset;
use Psr\Http\Client\ClientExceptionInterface;
class HttpClientException extends \Exception implements ClientExceptionInterface
{
}
| php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/CreditCardValidatorExtension.php | test/TestAsset/CreditCardValidatorExtension.php | <?php
/**
* @see https://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
* @license https://github.com/zendframework/zend-validator/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Vali... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/TestAsset/SessionManager.php | test/TestAsset/SessionManager.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/Crc32Test.php | test/File/Crc32Test.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/UploadFileTest.php | test/File/UploadFileTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/NotExistsTest.php | test/File/NotExistsTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/ExtensionTest.php | test/File/ExtensionTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/IsCompressedTest.php | test/File/IsCompressedTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/ImageSizeTest.php | test/File/ImageSizeTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/HashTest.php | test/File/HashTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/MimeTypeTest.php | test/File/MimeTypeTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/SizeTest.php | test/File/SizeTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/CountTest.php | test/File/CountTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/Sha1Test.php | test/File/Sha1Test.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/ExcludeExtensionTest.php | test/File/ExcludeExtensionTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/UploadTest.php | test/File/UploadTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/Md5Test.php | test/File/Md5Test.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/IsImageTest.php | test/File/IsImageTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/ExistsTest.php | test/File/ExistsTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/FilesSizeTest.php | test/File/FilesSizeTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/ExcludeMimeTypeTest.php | test/File/ExcludeMimeTypeTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/FileInformationTraitTest.php | test/File/FileInformationTraitTest.php | <?php
/**
* @see https://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
* @license https://github.com/zendframework/zend-validator/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Vali... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/WordCountTest.php | test/File/WordCountTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/File/TestAsset/FileInformation.php | test/File/TestAsset/FileInformation.php | <?php
/**
* @see https://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
* @license https://github.com/zendframework/zend-validator/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Vali... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/_files/MyBarcode5.php | test/_files/MyBarcode5.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/_files/MyBarcode4.php | test/_files/MyBarcode4.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/_files/MyBarcode1.php | test/_files/MyBarcode1.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/_files/MyBarcode2.php | test/_files/MyBarcode2.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/_files/MyBarcode3.php | test/_files/MyBarcode3.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Sitemap/PriorityTest.php | test/Sitemap/PriorityTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Sitemap/LocTest.php | test/Sitemap/LocTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Sitemap/ChangefreqTest.php | test/Sitemap/ChangefreqTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/test/Sitemap/LastmodTest.php | test/Sitemap/LastmodTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/bin/update_hostname_validator.php | bin/update_hostname_validator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
use Zend\H... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/unserialize.php | unserialize.php | <?php
namespace {
use Transphpile\Unserializer;
class c2 {
protected $testprop;
function __construct($a) {
$this->testprop = $a;
}
}
class c3 extends c2 {}
$c2 = new c2(42);
$c3 = new c3(96);
class foobar {
protected $foo = 1;
privat... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/AnsiHighlight.php | lib/Transphpile/AnsiHighlight.php | <?php
namespace Transphpile;
class AnsiHighlight
{
/**
* Converts PHP code into highlighted syntax using ANSI escape codes to pretty print on console.
*
* @param $str
* @return string
*/
public function highlight($str)
{
$str = highlight_string($str, true);
$str =... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Finder.php | lib/Transphpile/Finder.php | <?php
namespace Transphpile;
use Transphpile\Exception\FinderException;
use Transphpile\IO\IOInterface;
use Symfony\Component\Finder\Finder as SymfonyFinder;
class Finder
{
use IO\IO;
/**
* @var array
*/
protected $sources;
public function __construct(array $sources, IOInterface $io)
... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Console/Application.php | lib/Transphpile/Console/Application.php | <?php
namespace Transphpile\Console;
use Transphpile\IO\IOInterface;
use Transphpile\IO\SymfonyIO;
use Symfony\Component\Console\Application as BaseApplication;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Transphpile\Console\Command as Commands;
clas... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Console/Command/SelfUpdateCommand.php | lib/Transphpile/Console/Command/SelfUpdateCommand.php | <?php
namespace Transphpile\Console\Command;
// Code based on self-update from php-cs-fixer:
// https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/1.12/Symfony/CS/Console/Command/SelfUpdateCommand.php
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class SelfU... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Console/Command/Command.php | lib/Transphpile/Console/Command/Command.php | <?php
namespace Transphpile\Console\Command;
use Transphpile\Console\Application;
use Transphpile\IO\IOInterface;
use Transphpile\IO\NullIO;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
class Command extends SymfonyCommand
{
/** @var IOInterface */
protected $io;
/**
* @return I... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Console/Command/TranspileCommand.php | lib/Transphpile/Console/Command/TranspileCommand.php | <?php
namespace Transphpile\Console\Command;
use Transphpile\Exception\FinderException;
use Transphpile\Finder;
use Symfony\Component\Console\Exception\InvalidArgumentException;
use Symfony\Component\Console\Exception\InvalidOptionException;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Con... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Exception/TranspileException.php | lib/Transphpile/Exception/TranspileException.php | <?php
namespace Transphpile\Exception;
class TranspileException extends \RuntimeException
{
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Exception/ParseException.php | lib/Transphpile/Exception/ParseException.php | <?php
namespace Transphpile\Exception;
class ParseException extends \RuntimeException
{
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Exception/FinderException.php | lib/Transphpile/Exception/FinderException.php | <?php
namespace Transphpile\Exception;
class FinderException extends \RuntimeException
{
protected $path;
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Resources/phar-stub.php | lib/Transphpile/Resources/phar-stub.php | #!/usr/bin/env php
<?php
use Transphpile\Console\Application;
set_error_handler(function ($severity, $message, $file, $line) {
if ($severity & error_reporting()) {
throw new ErrorException($message, 0, $severity, $file, $line);
}
});
Phar::mapPhar();
require_once 'phar://transphpile.phar/vendor/autol... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/TestCase.php | lib/Transphpile/Tests/TestCase.php | <?php
namespace Transphpile\Tests;
class TestCase extends \PHPUnit_Framework_TestCase
{
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/AnsiHighlightTest.php | lib/Transphpile/Tests/AnsiHighlightTest.php | <?php
namespace Transphpile\Tests;
use Transphpile\AnsiHighlight;
class AnsiHighlightTest extends TestCase
{
public function testHighlight()
{
$highlighter = new AnsiHighlight();
$output = $highlighter->highlight("<?php print 'hello world!';");
$this->assertEquals("1b5b33373b316d0a1... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/FunctionalTestCase.php | lib/Transphpile/Tests/FunctionalTestCase.php | <?php
namespace Transphpile\Tests;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\StreamOutput;
use Symfony\Component\Process\PhpProcess;
use Symfony\Component\Yaml\Yaml;
use Transphpile\IO\IOInterface;
use Transphpile\IO\SymfonyIO;
use Transphpile\Transpile\Transpile;
class F... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/bootstrap.php | lib/Transphpile/Tests/bootstrap.php | <?php
function includeIfExists($file)
{
if (file_exists($file)) {
return include $file;
}
}
if (!$loader = includeIfExists(__DIR__.'/../../../vendor/autoload.php')) {
die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
'curl -s http://getcomposer.org/instal... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/Functional/FunctionalTest.php | lib/Transphpile/Tests/Functional/FunctionalTest.php | <?php
namespace Transphpile\Tests\Functional;
use Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator;
use Transphpile\Tests\FunctionalTestCase;
class FunctionalTest extends FunctionalTestCase {
function functionalTestProvider() {
$it = new \RecursiveDirectoryIterator(__DIR__ . "/tests", \Recur... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/IO/NullIOTest.php | lib/Transphpile/Tests/IO/NullIOTest.php | <?php
namespace Transphpile\Tests\IO;
use Transphpile\IO\IOInterface;
use Transphpile\Tests\TestCase;
use Transphpile\IO\NullIO;
class NullIOTest extends TestCase
{
/** @var IOInterface */
protected $nullio;
public function setUp() {
$this->nullio = new NullIO();
}
public function test... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/IO/SymfonyIOTest.php | lib/Transphpile/Tests/IO/SymfonyIOTest.php | <?php
namespace Transphpile\Tests\IO;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\BufferedOutput;
use Symfony\Component\Cons... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/IO/IOTest.php | lib/Transphpile/Tests/IO/IOTest.php | <?php
namespace Transphpile\Tests\IO;
use Transphpile\Tests\TestCase;
use Transphpile\IO\IO;
use Transphpile\IO\NullIO;
class MockIoTest {
use IO;
}
class IOTest extends TestCase
{
public function testIoTrait() {
$tmp = new NullIO();
$io = new MockIoTest();
$this->assertNull($io->... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Tests/Command/CommandTest.php | lib/Transphpile/Tests/Command/CommandTest.php | <?php
namespace Transphpile\Tests\Command;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;
use Transphpile\Console\Application;
use Transphpile\Console\Command\Command;
use Transphpile\IO\NullIO;
use Transphpile\Tests\TestCase;
class MockIo extends NullIO { }
class M... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/PrettyPrinter/Graphviz.php | lib/Transphpile/PrettyPrinter/Graphviz.php | <?php
namespace Transphpile\PrettyPrinter;
use PhpParser\PrettyPrinterAbstract;
use PhpParser\Node;
use PhpParser\Node\Scalar;
use PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\AssignOp;
use PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\Cast;
use PhpParser\Node\Stmt;
use P... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Transpile.php | lib/Transphpile/Transpile/Transpile.php | <?php
namespace Transphpile\Transpile;
use Symfony\Component\Console\Exception\InvalidOptionException;
use Transphpile\Exception\ParseException;
use Transphpile\IO\IOInterface;
use PhpParser\NodeTraverser;
use PhpParser\ParserFactory;
use PhpParser\PrettyPrinter\Standard;
class Transpile
{
use \Transphpile\IO\IO... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/StackVarNodeTraverser.php | lib/Transphpile/Transpile/StackVarNodeTraverser.php | <?php
namespace Transphpile\Transpile;
use PhpParser\NodeTraverser;
/*
* Small decorator that will push and pop variables per node traversal, as we will traverse subnodes manually (for
* instance, when encountering anonymous classes). We must save / use our variables per traversal.
*/
class StackVarNodeTraverser ... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/NodeStateStack.php | lib/Transphpile/Transpile/NodeStateStack.php | <?php
namespace Transphpile\Transpile;
/*
* This singleton class allows us to deal with "global" variables that needs to be used while traversing the AST.
* In some occasions (like during anonymous classes), we actually traverse a part of the subtree manually so we need to
* "store" the original global variables, ... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/DeclareVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/DeclareVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\NodeTraverser;
use PhpParser\NodeVisitorAbstract;
use Transphpile\Transpile\NodeStateStack;
/*
* Removes declare('strict_type') statements, and keep references if we are running strict_type or not for this file
*/
class Declar... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/ClosureCallVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/ClosureCallVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use Transphpile\Transpile\Exception\TranspileException;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
/*
* converts closure::call into another closure that dynamically checks
* if bindTo needs to be called, or the regular call() is needed.
*
*
* ... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/DoubleCallVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/DoubleCallVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
/*
* Converts foo(a1)(a2, a3) into;
*
* call_user_func(
* foo(a1),
* a2,
* a3
* )
*/
class DoubleCallVisitor extends NodeVisitorAbst... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/ReturnVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/ReturnVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use Transphpile\Transpile\NodeStateStack;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
/*
* Check if returned values are correctly typed if source is set to strict
*/
class ReturnVisitor extends NodeVisitorAbstract
{
... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/DefineArrayVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/DefineArrayVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
/*
* Converts define() arrays into const arrays
*/
class DefineArrayVisitor extends NodeVisitorAbstract
{
public function leaveNode(Node $node)
{
if (!$node ins... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/UnserializeVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/UnserializeVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use Transphpile\Transpile\Exception\TranspileException;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
/*
* converts unserialize($foo, array('allowed_classes' => ... ) into
*
* transphpile\unserialize::unserializer($foo, array('allowed_classes')
*
... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/SpaceshipVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/SpaceshipVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
/*
* Converts $a <=> $b into;
*
* call_user_func(
* function($v1, $v2)) { if ($v1 == $v2) return 0; return $v1 > $v2 ? 1 : -1 },
* $a,
* $b
... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/TypehintVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/TypehintVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\Node\Stmt\ClassLike;
use PhpParser\Node\Stmt\Interface_;
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
use Transphpile\Transpile\NodeStateStack;
/*
* Keeps track in which function we currently reside, which typ... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/GeneratorReturnVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/GeneratorReturnVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\NodeTraverser;
use PhpParser\NodeVisitorAbstract;
use Transphpile\Exception\TranspileException;
use Transphpile\Transpile\NodeStateStack;
class GeneratorReturnVisitor extends NodeVisitorAbstract
{
public function leaveNode(No... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/GroupUseVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/GroupUseVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Node;
use PhpParser\Node\Stmt\Use_;
use PhpParser\NodeVisitorAbstract;
use Transphpile\Transpile\Exception\TranspileException;
/*
* converts "use foo\{bar,baz}" into:
*
* use foo\bar;
* use foo\baz;
*/
class GroupUseVisitor extends NodeVi... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/AnonymousClassVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/AnonymousClassVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use Transphpile\Transpile\Transpile;
use Transphpile\Transpile\NodeStateStack;
use PhpParser\Comment;
use PhpParser\Node;
use PhpParser\Node\Stmt\Declare_;
use PhpParser\Node\Stmt\Namespace_;
use PhpParser\Node\Stmt\Use_;
use PhpParser\NodeVisitorAbstract;
/*
* ... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Visitors/Php70/NullCoalesceVisitor.php | lib/Transphpile/Transpile/Visitors/Php70/NullCoalesceVisitor.php | <?php
namespace Transphpile\Transpile\Visitors\Php70;
use PhpParser\Comment;
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
/*
* Converts $a ?? $b into:
*
* call_user_func(
* function ($v1, $v2) { return isset($v1) ? $v1 : $v2; },
* @$a,
* @$b
* )
*
* This constr... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Exception/TranspileException.php | lib/Transphpile/Transpile/Exception/TranspileException.php | <?php
namespace Transphpile\Transpile\Exception;
use PhpParser\Node;
class TranspileException extends NodeException { }
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/Transpile/Exception/NodeException.php | lib/Transphpile/Transpile/Exception/NodeException.php | <?php
namespace Transphpile\Transpile\Exception;
use PhpParser\Node;
class NodeException extends \RuntimeException {
protected $node;
public function setNode(Node $node)
{
$this->node = $node;
}
/**
* @return mixed
*/
public function getNode()
{
return $this->... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/IO/NullIO.php | lib/Transphpile/IO/NullIO.php | <?php
namespace Transphpile\IO;
class NullIO implements IOInterface
{
public function getOption($option)
{
return false;
}
public function getOptions()
{
return array();
}
public function getArgument($argument)
{
return false;
}
public function getArg... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/IO/SymfonyIO.php | lib/Transphpile/IO/SymfonyIO.php | <?php
namespace Transphpile\IO;
use Symfony\Component\Console\Input\InputInterface as SymfonyInputInterface;
use Symfony\Component\Console\Output\OutputInterface as SymfonyOutputInterface;
class SymfonyIO implements IOInterface
{
public function __construct(SymfonyInputInterface $input, SymfonyOutputInterface $o... | php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/IO/IOInterface.php | lib/Transphpile/IO/IOInterface.php | <?php
namespace Transphpile\IO;
interface IOInterface extends InputInterface, OutputInterface
{
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/IO/InputInterface.php | lib/Transphpile/IO/InputInterface.php | <?php
namespace Transphpile\IO;
interface InputInterface
{
public function getOption($option);
public function getOptions();
public function getArgument($argument);
public function getArguments();
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/IO/OutputInterface.php | lib/Transphpile/IO/OutputInterface.php | <?php
namespace Transphpile\IO;
interface OutputInterface
{
public function output($message);
public function verbose($message, $tag);
public function veryVerbose($message, $tag);
public function debug($message, $tag);
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
jaytaph/Transphpile | https://github.com/jaytaph/Transphpile/blob/1cf2e331cd0c26a362613fe3f8f9be43eeb1299a/lib/Transphpile/IO/IO.php | lib/Transphpile/IO/IO.php | <?php
namespace Transphpile\IO;
trait IO
{
protected $io;
/**
* @return mixed
*/
public function getIO()
{
return $this->io;
}
/**
* @param IOInterface $io
*/
public function setIO(IOInterface $io)
{
$this->io = $io;
}
}
| php | BSD-3-Clause | 1cf2e331cd0c26a362613fe3f8f9be43eeb1299a | 2026-01-05T03:27:50.510159Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/src/Binput.php | src/Binput.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Binput;
use GrahamCampbell\Secur... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/src/BinputServiceProvider.php | src/BinputServiceProvider.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Binput;
use Illuminate\Contracts... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.