├── .github └── workflows │ ├── continuous-integration.yml │ └── release-on-milestone-closed-triggering-release-event.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── docs ├── DontCall.md ├── DontCallStatic.md ├── DontClone.md ├── DontDeserialise.md ├── DontGet.md ├── DontInstantiate.md ├── DontSerialise.md ├── DontSet.md ├── DontToString.md └── JustDont.md ├── infection.json.dist ├── phpunit.xml.dist ├── renovate.json ├── src └── Dont │ ├── DontCall.php │ ├── DontCallStatic.php │ ├── DontClone.php │ ├── DontDeserialise.php │ ├── DontGet.php │ ├── DontInstantiate.php │ ├── DontSerialise.php │ ├── DontSet.php │ ├── DontToString.php │ ├── Exception │ ├── ExceptionInterface.php │ ├── NonCallableObject.php │ ├── NonCloneableObject.php │ ├── NonDeserialisableObject.php │ ├── NonGettableObject.php │ ├── NonSerialisableObject.php │ ├── NonSettableObject.php │ ├── NonStaticCallableClass.php │ ├── NonStringableObject.php │ └── TypeError.php │ └── JustDont.php └── tests ├── DontTest ├── DontCallStaticTest.php ├── DontCallTest.php ├── DontCloneTest.php ├── DontDeserialiseTest.php ├── DontGetTest.php ├── DontInstantiateTest.php ├── DontSerialiseTest.php ├── DontSetTest.php ├── DontToStringTest.php └── Exception │ ├── ExceptionInterfaceTest.php │ ├── NonCallableObjectTest.php │ ├── NonCloneableObjectTest.php │ ├── NonDeserialisableObjectTest.php │ ├── NonGettableObjectTest.php │ ├── NonSerialisableObjectTest.php │ ├── NonSettableObjectTest.php │ ├── NonStaticCallableClassTest.php │ ├── NonStringableObjectTest.php │ └── TypeErrorTest.php └── DontTestAsset ├── DontDoIt.php ├── NonCallable.php ├── NonCloneable.php ├── NonDeserialisable.php ├── NonDeserialisableImplementingSerializable.php ├── NonInstantiatable.php ├── NonStaticCallable.php ├── NonStringable.php ├── NotGetOrSettable.php └── NotSerialisable.php /.github/workflows/continuous-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/.github/workflows/continuous-integration.yml -------------------------------------------------------------------------------- /.github/workflows/release-on-milestone-closed-triggering-release-event.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/.github/workflows/release-on-milestone-closed-triggering-release-event.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/composer.lock -------------------------------------------------------------------------------- /docs/DontCall.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontCall.md -------------------------------------------------------------------------------- /docs/DontCallStatic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontCallStatic.md -------------------------------------------------------------------------------- /docs/DontClone.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontClone.md -------------------------------------------------------------------------------- /docs/DontDeserialise.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontDeserialise.md -------------------------------------------------------------------------------- /docs/DontGet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontGet.md -------------------------------------------------------------------------------- /docs/DontInstantiate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontInstantiate.md -------------------------------------------------------------------------------- /docs/DontSerialise.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontSerialise.md -------------------------------------------------------------------------------- /docs/DontSet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontSet.md -------------------------------------------------------------------------------- /docs/DontToString.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/DontToString.md -------------------------------------------------------------------------------- /docs/JustDont.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/docs/JustDont.md -------------------------------------------------------------------------------- /infection.json.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/infection.json.dist -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/renovate.json -------------------------------------------------------------------------------- /src/Dont/DontCall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontCall.php -------------------------------------------------------------------------------- /src/Dont/DontCallStatic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontCallStatic.php -------------------------------------------------------------------------------- /src/Dont/DontClone.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontClone.php -------------------------------------------------------------------------------- /src/Dont/DontDeserialise.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontDeserialise.php -------------------------------------------------------------------------------- /src/Dont/DontGet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontGet.php -------------------------------------------------------------------------------- /src/Dont/DontInstantiate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontInstantiate.php -------------------------------------------------------------------------------- /src/Dont/DontSerialise.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontSerialise.php -------------------------------------------------------------------------------- /src/Dont/DontSet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontSet.php -------------------------------------------------------------------------------- /src/Dont/DontToString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/DontToString.php -------------------------------------------------------------------------------- /src/Dont/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/ExceptionInterface.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonCallableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonCallableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonCloneableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonCloneableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonDeserialisableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonDeserialisableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonGettableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonGettableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonSerialisableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonSerialisableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonSettableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonSettableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonStaticCallableClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonStaticCallableClass.php -------------------------------------------------------------------------------- /src/Dont/Exception/NonStringableObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/NonStringableObject.php -------------------------------------------------------------------------------- /src/Dont/Exception/TypeError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/Exception/TypeError.php -------------------------------------------------------------------------------- /src/Dont/JustDont.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/src/Dont/JustDont.php -------------------------------------------------------------------------------- /tests/DontTest/DontCallStaticTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontCallStaticTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontCallTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontCallTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontCloneTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontCloneTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontDeserialiseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontDeserialiseTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontGetTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontGetTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontInstantiateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontInstantiateTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontSerialiseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontSerialiseTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontSetTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontSetTest.php -------------------------------------------------------------------------------- /tests/DontTest/DontToStringTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/DontToStringTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/ExceptionInterfaceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/ExceptionInterfaceTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonCallableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonCallableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonCloneableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonCloneableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonDeserialisableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonDeserialisableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonGettableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonGettableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonSerialisableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonSerialisableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonSettableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonSettableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonStaticCallableClassTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonStaticCallableClassTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/NonStringableObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/NonStringableObjectTest.php -------------------------------------------------------------------------------- /tests/DontTest/Exception/TypeErrorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTest/Exception/TypeErrorTest.php -------------------------------------------------------------------------------- /tests/DontTestAsset/DontDoIt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/DontDoIt.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonCallable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonCallable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonCloneable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonCloneable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonDeserialisable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonDeserialisable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonDeserialisableImplementingSerializable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonDeserialisableImplementingSerializable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonInstantiatable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonInstantiatable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonStaticCallable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonStaticCallable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NonStringable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NonStringable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NotGetOrSettable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NotGetOrSettable.php -------------------------------------------------------------------------------- /tests/DontTestAsset/NotSerialisable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/Dont/HEAD/tests/DontTestAsset/NotSerialisable.php --------------------------------------------------------------------------------