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
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/SessionBeansProperty.php
src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/SessionBeansProperty.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\PropertyGenerator; use ProxyManager\G...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/ParameterValuesProperty.php
src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/ParameterValuesProperty.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\PropertyGenerator; use ProxyManager\G...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/AliasesProperty.php
src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/AliasesProperty.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\PropertyGenerator; use ProxyManager\G...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/ForceLazyInitProperty.php
src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/ForceLazyInitProperty.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\PropertyGenerator; use ProxyManager\G...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/BeanFactoryConfigurationProperty.php
src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/BeanFactoryConfigurationProperty.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\PropertyGenerator; use bitExpert\Disc...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/BeanPostProcessorsProperty.php
src/bitExpert/Disco/Proxy/Configuration/PropertyGenerator/BeanPostProcessorsProperty.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\PropertyGenerator; use ProxyManager\G...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bootstrap.php
tests/bootstrap.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); // include and configure Composer autoloader include __DIR__ . '/../vendor/autoload....
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/BeanFactoryRegistryUnitTest.php
tests/bitExpert/Disco/BeanFactoryRegistryUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco; use bitExpert\Disco\Config\BeanConfiguration; use PHPUni...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/BeanFactoryConfigurationUnitTest.php
tests/bitExpert/Disco/BeanFactoryConfigurationUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco; use bitExpert\Disco\Store\SerializableBeanStore; use Inv...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/AnnotationBeanFactoryUnitTest.php
tests/bitExpert/Disco/AnnotationBeanFactoryUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco; use bitExpert\Disco\BeanException; use bitExpert\Disco\B...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/ExtendedBeanConfigurationOverwritingParentAlias.php
tests/bitExpert/Disco/Config/ExtendedBeanConfigurationOverwritingParentAlias.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Alias; use bitExp...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithAliases.php
tests/bitExpert/Disco/Config/BeanConfigurationWithAliases.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Alias; use bitExp...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfiguration.php
tests/bitExpert/Disco/Config/BeanConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithPrimitives.php
tests/bitExpert/Disco/Config/BeanConfigurationWithPrimitives.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/NonExistentReturnTypeConfiguration.php
tests/bitExpert/Disco/Config/NonExistentReturnTypeConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/WrongReturnTypeConfiguration.php
tests/bitExpert/Disco/Config/WrongReturnTypeConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationTrait.php
tests/bitExpert/Disco/Config/BeanConfigurationTrait.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Configuration; us...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithParameters.php
tests/bitExpert/Disco/Config/BeanConfigurationWithParameters.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/InvalidConfiguration.php
tests/bitExpert/Disco/Config/InvalidConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; /** * Configuration class missing the needed ann...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationPersistence.php
tests/bitExpert/Disco/Config/BeanConfigurationPersistence.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/InterfaceConfiguration.php
tests/bitExpert/Disco/Config/InterfaceConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Configuration; /...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/MissingReturnTypeConfiguration.php
tests/bitExpert/Disco/Config/MissingReturnTypeConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithPostProcessor.php
tests/bitExpert/Disco/Config/BeanConfigurationWithPostProcessor.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithConflictingAliasesInParentClass.php
tests/bitExpert/Disco/Config/BeanConfigurationWithConflictingAliasesInParentClass.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Alias; use bitExp...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithProtectedMethod.php
tests/bitExpert/Disco/Config/BeanConfigurationWithProtectedMethod.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithConflictingAliases.php
tests/bitExpert/Disco/Config/BeanConfigurationWithConflictingAliases.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Alias; use bitExp...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationSubclass.php
tests/bitExpert/Disco/Config/BeanConfigurationSubclass.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithParameterizedPostProcessor.php
tests/bitExpert/Disco/Config/BeanConfigurationWithParameterizedPostProcessor.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/MissingBeanAnnotationConfiguration.php
tests/bitExpert/Disco/Config/MissingBeanAnnotationConfiguration.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Configuration; us...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/BeanConfigurationWithPostProcessorAndParameterizedDependency.php
tests/bitExpert/Disco/Config/BeanConfigurationWithPostProcessorAndParameterizedDependency.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config; use bitExpert\Disco\Annotations\Bean; use bitExpe...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Config/Traits/NonSingletonNonLazyRequestBean.php
tests/bitExpert/Disco/Config/Traits/NonSingletonNonLazyRequestBean.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Config\Traits; use bitExpert\Disco\Annotations\Bean; use ...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Helper/InitializedService.php
tests/bitExpert/Disco/Helper/InitializedService.php
<?php /* * This file is part of the 02003-bitExpertLabs-24-Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Helper; use bitExpert\Disco\Initia...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Helper/SampleServiceInterface.php
tests/bitExpert/Disco/Helper/SampleServiceInterface.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Helper; interface SampleServiceInterface { }
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Helper/MasterService.php
tests/bitExpert/Disco/Helper/MasterService.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Helper; class MasterService { public $service; p...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Helper/ParameterizedSampleServiceBeanPostProcessor.php
tests/bitExpert/Disco/Helper/ParameterizedSampleServiceBeanPostProcessor.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Helper; use bitExpert\Disco\BeanPostProcessor; class Par...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Helper/SampleServiceBeanPostProcessor.php
tests/bitExpert/Disco/Helper/SampleServiceBeanPostProcessor.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Helper; use bitExpert\Disco\BeanPostProcessor; class Sam...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Helper/SampleService.php
tests/bitExpert/Disco/Helper/SampleService.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Helper; class SampleService implements SampleServiceInter...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Annotations/BeanPostProcessorUnitTest.php
tests/bitExpert/Disco/Annotations/BeanPostProcessorUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Annotations; use bitExpert\Disco\Helper\SampleService; us...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Annotations/AnnotationAttributeParserUnitTest.php
tests/bitExpert/Disco/Annotations/AnnotationAttributeParserUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Annotations; use PHPUnit\Framework\TestCase; /** * Unit...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Annotations/BeanUnitTest.php
tests/bitExpert/Disco/Annotations/BeanUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Annotations; use bitExpert\Disco\Helper\SampleService; us...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Annotations/AliasUnitTest.php
tests/bitExpert/Disco/Annotations/AliasUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Annotations; use Doctrine\Common\Annotations\AnnotationEx...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Annotations/ParameterUnitTest.php
tests/bitExpert/Disco/Annotations/ParameterUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Annotations; use Doctrine\Common\Annotations\AnnotationEx...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Store/SerializableBeanStoreUnitTest.php
tests/bitExpert/Disco/Store/SerializableBeanStoreUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Store; use bitExpert\Disco\Helper\MasterService; use bitE...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Proxy/LazyBean/LazyBeanGeneratorUnitTest.php
tests/bitExpert/Disco/Proxy/LazyBean/LazyBeanGeneratorUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\LazyBean; use Iterator; use PHPUnit\Framework\TestC...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
bitExpert/disco
https://github.com/bitExpert/disco/blob/bfccc82a4757930e4ec1259fe87c3124888e327c/tests/bitExpert/Disco/Proxy/Configuration/ConfigurationGeneratorUnitTest.php
tests/bitExpert/Disco/Proxy/Configuration/ConfigurationGeneratorUnitTest.php
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration; use bitExpert\Disco\Config\BeanConfi...
php
Apache-2.0
bfccc82a4757930e4ec1259fe87c3124888e327c
2026-01-05T04:45:28.508624Z
false
vamsiikrishna/vex
https://github.com/vamsiikrishna/vex/blob/223d4c3c4afea421508fb18126bea1230da47cff/src/Vamsi/Vex/Command/VexCommand.php
src/Vamsi/Vex/Command/VexCommand.php
<?php namespace Vamsi\Vex\Command; use GuzzleHttp\Client; use GuzzleHttp\Pool; use GuzzleHttp\Psr7\Request; use GuzzleHttp\TransferStats; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\In...
php
MIT
223d4c3c4afea421508fb18126bea1230da47cff
2026-01-05T04:45:42.677502Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/LibraryInstaller.php
src/Composer/CustomDirectoryInstaller/LibraryInstaller.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Composer; use Composer\Package\PackageInterface; use Composer\Installer\LibraryInstaller as BaseLibraryInstaller; class LibraryInstaller extends BaseLibraryInstaller { public function getInstallPath(PackageInterface $package) { $path = P...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/PluginInstaller.php
src/Composer/CustomDirectoryInstaller/PluginInstaller.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Package\PackageInterface; use Composer\Installer\PluginInstaller as BasePluginInstaller; class PluginInstaller extends BasePluginInstaller { public function getInstallPath(PackageInterface $package) { $path = PackageUtils::getPackageInst...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/PackageUtils.php
src/Composer/CustomDirectoryInstaller/PackageUtils.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Composer; use Composer\Package\PackageInterface; class PackageUtils { public static function getPackageInstallPath(PackageInterface $package, Composer $composer) { $prettyName = $package->getPrettyName(); if (strpos($prettyName, ...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/PluginPlugin.php
src/Composer/CustomDirectoryInstaller/PluginPlugin.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Composer; use Composer\IO\IOInterface; use Composer\Plugin\PluginInterface; class PluginPlugin implements PluginInterface { private $installer; public function activate(Composer $composer, IOInterface $io) { $this->installer = new P...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/PearPlugin.php
src/Composer/CustomDirectoryInstaller/PearPlugin.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Composer; use Composer\IO\IOInterface; use Composer\Plugin\PluginInterface; class PearPlugin implements PluginInterface { public function activate(Composer $composer, IOInterface $io) { if (!class_exists('Composer\Installer\PearInstaller...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/PearInstaller.php
src/Composer/CustomDirectoryInstaller/PearInstaller.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Package\PackageInterface; use Composer\Installer\PearInstaller as BasePearInstaller; class PearInstaller extends BasePearInstaller { public function getInstallPath(PackageInterface $package) { $path = PackageUtils::getPackageInstallPath(...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/src/Composer/CustomDirectoryInstaller/LibraryPlugin.php
src/Composer/CustomDirectoryInstaller/LibraryPlugin.php
<?php namespace Composer\CustomDirectoryInstaller; use Composer\Composer; use Composer\IO\IOInterface; use Composer\Plugin\PluginInterface; class LibraryPlugin implements PluginInterface { private LibraryInstaller $installer; public function activate(Composer $composer, IOInterface $io) { $this-...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
mnsami/composer-custom-directory-installer
https://github.com/mnsami/composer-custom-directory-installer/blob/1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9/tests/Unit/PackageUtilsTest.php
tests/Unit/PackageUtilsTest.php
<?php namespace App\Tests\Unit; use Composer\CustomDirectoryInstaller\PackageUtils; use PHPUnit\Framework\TestCase; use ReflectionMethod; class PackageUtilsTest extends TestCase { public function testTemplatePathReplacesVariables() { $method = new ReflectionMethod(PackageUtils::class, 'templatePath')...
php
MIT
1adcc93c35f44a3a06e5cf5d2f3cf638711bedf9
2026-01-05T04:45:50.514529Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/Collection.php
src/Collection.php
<?php namespace Collections; use Collections\Exceptions\InvalidArgumentException; use Collections\Exceptions\OutOfRangeException; use ArrayIterator; /** * A collection of objects with a specified class or interface */ class Collection implements CollectionInterface { use TypeValidator; /** * The coll...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/CollectionInterface.php
src/CollectionInterface.php
<?php namespace Collections; use ArrayIterator; use Collections\Exceptions\InvalidArgumentException; use Collections\Exceptions\OutOfRangeException; /** * A collection of objects with a specified class or interface */ interface CollectionInterface extends \IteratorAggregate, \Countable { /** * Returns the ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/TypeValidator.php
src/TypeValidator.php
<?php namespace Collections; use Collections\Exceptions\InvalidArgumentException; trait TypeValidator { private function determineType($type, $keyType = false) { if (!$keyType && $this->nonScalarTypeExists($type)) { return $type; } if ($scalarType = $this->determineScalar...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/Dictionary.php
src/Dictionary.php
<?php namespace Collections; use ArrayAccess; use ArrayIterator; use Countable; use IteratorAggregate; class Dictionary implements DictionaryInterface { use TypeValidator; protected $storage = []; protected $keyType; protected $valType; /** * @param $keyType * @param $valType * @...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/DictionaryInterface.php
src/DictionaryInterface.php
<?php namespace Collections; interface DictionaryInterface extends \IteratorAggregate, \Countable { /** * Returns the type of the dictionary's keys. * * @return string */ public function getKeyType(); /** * Returns the type of the dictionary's values. * * @return string ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/Exceptions/OutOfRangeException.php
src/Exceptions/OutOfRangeException.php
<?php namespace Collections\Exceptions; /** * Occurs when an index is out of range of the collection */ class OutOfRangeException extends Exception { }
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/Exceptions/Exception.php
src/Exceptions/Exception.php
<?php namespace Collections\Exceptions; /** * An Exception in the Collection */ class Exception extends \Exception { }
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/Exceptions/InvalidArgumentException.php
src/Exceptions/InvalidArgumentException.php
<?php namespace Collections\Exceptions; /** * Occurs when an invalid argument is used with the Collection */ class InvalidArgumentException extends Exception { }
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/src/Exceptions/ImmutableKeyException.php
src/Exceptions/ImmutableKeyException.php
<?php namespace Collections\Exceptions; class ImmutableKeyException extends Exception { }
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/HeadAndTailTest.php
tests/HeadAndTailTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class HeadAndTailTest extends TestCase { public function test_head_and_tail_returns_head_and_collection_for_tail() { $col = new Collection('int', [1,2,3]); list($h,$t) = $col->headAndTail(); $this->assertEquals(1, $h); ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/exampleResources.php
tests/exampleResources.php
<?php interface TestClassAInterface { public function getValue(); public function setValue($v); } class TestClassA implements TestClassAInterface{ private $v; public function __construct($v){ $this->setValue($v); } public function getValue(){ return $this->v; } public function setValue($v...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/bootstrap.php
tests/bootstrap.php
<?php require_once(__DIR__.'/../vendor/autoload.php'); require_once(__DIR__.'/exampleResources.php');
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/GetOrElseTest.php
tests/Dictionary/GetOrElseTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class GetOrElseTest extends TestCase { public function test_get_or_else() { $d = (new Dictionary('string', 'int')) ->add('a', 1) ->add('b', 2) ->ad...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/ContainsTest.php
tests/Dictionary/ContainsTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use Collections\Exceptions\InvalidArgumentException; use PHPUnit\Framework\TestCase; use TestClassA; use TestClassAInterface; use TestClassExtendsA; class ContainsTest extends TestCase { public function test_adding_with_okay_types_adds_to_...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/FilterTest.php
tests/Dictionary/FilterTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class FilterTest extends TestCase { public function test_filter() { $d = (new Dictionary('string', 'int')) ->add('a', 1) ->add('b', 2) ->add('c', 3...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/WithoutTest.php
tests/Dictionary/WithoutTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class WithoutTest extends TestCase { public function test_filter() { $d = (new Dictionary('string', 'int')) ->add('a', 1) ->add('b', 2) ->add('c', ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/EachTest.php
tests/Dictionary/EachTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class EachTest extends TestCase { public function test_fn_applied_to_every_item() { $d = (new Dictionary('string', 'int')) ->add('a',1) ->add('b',2); $res...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/AddTest.php
tests/Dictionary/AddTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use Collections\Exceptions\InvalidArgumentException; use PHPUnit\Framework\TestCase; use TestClassA; use TestClassAInterface; use TestClassExtendsA; class AddTest extends TestCase { public function test_adding_with_okay_types_adds_to_dicti...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/DeleteTest.php
tests/Dictionary/DeleteTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class DeleteTest extends TestCase { public function test_delete_key_creates_second_dic_without_key() { $d = (new Dictionary('string', 'int'))->add('a', 1)->add('b', 2); $this->assertEqual...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/ValuesTest.php
tests/Dictionary/ValuesTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class ValuesTest extends TestCase { public function test_values() { $d = (new Dictionary('string', 'int')) ->add('a', 1) ->add('b', 2) ->add('c', 3...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/ClearTest.php
tests/Dictionary/ClearTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class ClearTest extends TestCase { public function test_clear_creates_empty_dictionary_of_same_type() { $d = new Dictionary('string','int'); $d = $d->add('a', 1); $empty = $d->c...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/ReduceTest.php
tests/Dictionary/ReduceTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use Collections\Exceptions\InvalidArgumentException; use PHPUnit\Framework\TestCase; use TestClassA; use TestClassAInterface; use TestClassExtendsA; class ReduceTest extends TestCase { public function test_adding_with_okay_types_adds_to_di...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/ExistsTest.php
tests/Dictionary/ExistsTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class ExistsTest extends TestCase { public function test_key_exists_returns_true() { $d = (new Dictionary('string','int'))->add('a',1); $this->assertTrue($d->exists('a')); } pu...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/MergeTest.php
tests/Dictionary/MergeTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use Collections\Exceptions\InvalidArgumentException; use PHPUnit\Framework\TestCase; class MergeTest extends TestCase { public function test_can_merge_dict() { $l = (new Dictionary('string','int'))->add('a',1); $r = (ne...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/ToArrayTest.php
tests/Dictionary/ToArrayTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class ToArrayTest extends TestCase { public function test_to_array_returns_assoc_array() { $d = new Dictionary('string', 'int'); $d = $d->add('a', 1); $d = $d->add('b', 2); ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/MapTest.php
tests/Dictionary/MapTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class MapTest extends TestCase { public function test_map_infers_type_for_dict() { $d = new Dictionary('string', 'int'); $d = $d->add('a', 1); //change key to 42 $m = $d-...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Dictionary/KeysTest.php
tests/Dictionary/KeysTest.php
<?php namespace Collections\Tests\Dictionary; use Collections\Dictionary; use PHPUnit\Framework\TestCase; class KeysTest extends TestCase { public function test_keys() { $d = (new Dictionary('string', 'int')) ->add('a', 1) ->add('b', 2) ->add('c', 3) ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/DropTest.php
tests/Collection/DropTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class DropTest extends TestCase { /** * @var Collection */ private $col; private $items; public function setup() { $this->items = [ new TestClassA(2), new TestClassA(4), new Tes...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/GetObjectNameTest.php
tests/Collection/GetObjectNameTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class GetObjectNameTest extends TestCase { public function testGetObjectName() { $col = new Collection('TestClassA'); $this->assertEquals("TestClassA", $col->getType()); } }
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/DropRightTest.php
tests/Collection/DropRightTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class DropRightTest extends TestCase { /** * @var Collection */ private $col; private $items; public function setup() { $this->items = [ new TestClassA(2), new TestClassA(4), ne...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/IndexExistsTest.php
tests/Collection/IndexExistsTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class IndexExistsTest extends TestCase { public function testIndexExits() { $col = new Collection('TestClassA', [ new TestClassA(1), new TestClassA(2) ]); $this->assertTrue($col->indexExists(0)); ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/ContainsTest.php
tests/Collection/ContainsTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class ContainsTest extends TestCase { /** * @var Collection */ private $col; public function setup() { $this->col = new Collection('TestClassA', [ new TestClassA(1), new TestC...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/PopPopTest.php
tests/Collection/PopPopTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class PopPopTest extends TestCase { public function test_pop_pop() { $col = new Collection('int', [1,2,3,4]); $this->assertEquals([4,3], $col->popPop()); $col = new Collection('int', [1,2]); $this->assertEquals(...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/FindTest.php
tests/Collection/FindTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class FindTest extends TestCase { /** * @var Collection */ private $col; public function setup() { $this->col = new Collection( 'TestClassA', [ new TestClassA(1), new TestC...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/DropWhileTest.php
tests/Collection/DropWhileTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class DropWhileTest extends TestCase { public function test_drop_while() { $t = new TestClassA(2); $t2 = new TestClassA(4); $t3 = new TestClassA(6); $t4 = new TestClassA(7); $t5 = new TestClassA(8); ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/SortTest.php
tests/Collection/SortTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class SortTest extends TestCase { public function test_sorts_with_callback() { $col = new Collection('int', [3,1,4,2]); $comparator = function ($a, $b) { if ($a == $b) { return 0; } ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/TakeWhileTest.php
tests/Collection/TakeWhileTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class TakeWhileTest extends TestCase { public function test_take_while() { $t = new TestClassA(2); $t2 = new TestClassA(4); $t3 = new TestClassA(7); $t4 = new TestClassA(9); $this->c = new Collection('Te...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/TakeTest.php
tests/Collection/TakeTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class TakeTest extends TestCase { /** * @var Collection */ private $col; public function setup() { $this->col = new Collection('TestClassA', [ new TestClassA(2), new TestClassA(4), ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/WithoutTest.php
tests/Collection/WithoutTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class WithoutTest extends TestCase { public function test_without_returns_items_that_do_not_match_criteria() { $col = new Collection('int',[1,2,3,4,5]); $odds = $col->without(function($item) { return $item % 2 == 0;...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/EachTest.php
tests/Collection/EachTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class EachTest extends TestCase { public function test_each() { $c = (new Collection('int')) ->add(1) ->add(2) ->add(3) ->add(4); $results = []; $c->each(function...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/AddTest.php
tests/Collection/AddTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class AddTest extends TestCase { public function test_add_item_creates_new_col_with_item() { $col = new Collection('TestClassA'); //count should be zero $this->assertEquals(0, $col->count()); $a = new TestClassA...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/SliceTest.php
tests/Collection/SliceTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class SliceTest extends TestCase { /** * @var Collection */ private $c; /** * @var array */ private $items; public function setup() { $this->items = [ new TestClassA(0), new ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/FindIndexTest.php
tests/Collection/FindIndexTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class FindIndexTest extends TestCase { public function testFindIndex() { $this->c = new Collection("TestClassA"); $this->c = $this->c->add(new TestClassA(2)); $this->c = $this->c->add(new TestClassA(4)); $this->c...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/FirstAndLastTest.php
tests/Collection/FirstAndLastTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class FirstAndLastTest extends TestCase { public function test_can_get_first_item() { $col = new Collection('integer', [1, 2, 3, 4, 5]); $this->assertSame($col->first(), 1); } /** * @expectedException \RuntimeExcep...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/FindLastTest.php
tests/Collection/FindLastTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class FindLastTest extends TestCase { public function testFindLast() { $this->c = new Collection('TestClassA'); $this->c = $this->c->add(new TestClassA(2)); $this->c = $this->c->add(new TestClassA(4)); $this->c =...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false
danielgsims/php-collections
https://github.com/danielgsims/php-collections/blob/199355733ba12ac17cf1958dee1a4370a320120b/tests/Collection/ReduceRightTest.php
tests/Collection/ReduceRightTest.php
<?php use Collections\Collection; use PHPUnit\Framework\TestCase; class ReduceRightTest extends TestCase { public function test_reduce_right_add() { $this->c = new Collection('int'); $this->c = $this->c->add(1); $this->c = $this->c->add(3); $this->c = $this->c->add(10); ...
php
MIT
199355733ba12ac17cf1958dee1a4370a320120b
2026-01-05T04:46:12.589480Z
false