├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── composer.json ├── couscous.yml ├── docs ├── basic-strict.md ├── bootstrap.md ├── current-limitation.md ├── immutability.md ├── installing.md ├── parameter-checking.md ├── parameter-interface-jailing.md ├── property-type-checks.md ├── public-constructor-property-initialization-checks.md └── return-type-checks.md ├── phpunit.xml.dist ├── src └── StrictPhp │ ├── AccessChecker │ ├── ObjectStateChecker.php │ ├── ParameterInterfaceJailer.php │ ├── ParameterTypeChecker.php │ ├── PropertyWriteImmutabilityChecker.php │ ├── PropertyWriteTypeChecker.php │ └── ReturnTypeChecker.php │ ├── Aspect │ ├── PostConstructAspect.php │ ├── PostPublicMethodAspect.php │ ├── PrePublicMethodAspect.php │ └── PropertyWriteAspect.php │ ├── Reflection │ └── AllProperties.php │ ├── StrictPhpKernel.php │ ├── TypeChecker │ ├── ApplyTypeChecks.php │ ├── TypeChecker │ │ ├── BooleanTypeChecker.php │ │ ├── CallableTypeChecker.php │ │ ├── GenericObjectTypeChecker.php │ │ ├── IntegerTypeChecker.php │ │ ├── MixedTypeChecker.php │ │ ├── NullTypeChecker.php │ │ ├── ObjectTypeChecker.php │ │ ├── ResourceTypeChecker.php │ │ ├── StringTypeChecker.php │ │ └── TypedTraversableChecker.php │ └── TypeCheckerInterface.php │ └── TypeFinder │ ├── ParameterTypeFinder.php │ ├── PropertyTypeFinder.php │ └── ReturnTypeFinder.php └── tests ├── StrictPhpTest ├── AccessChecker │ ├── ObjectStateCheckerTest.php │ ├── ParameterInterfaceJailerTest.php │ ├── ParameterTypeCheckerTest.php │ ├── PropertyWriteImmutabilityCheckerTest.php │ ├── PropertyWriteTypeCheckerTest.php │ └── ReturnTypeCheckerTest.php ├── Aspect │ ├── PostConstructAspectTest.php │ ├── PostPublicMethodAspectTest.php │ ├── PrePublicMethodAspectTest.php │ └── PropertyWriteAspectTest.php ├── Reflection │ └── AllPropertiesTest.php ├── StrictPhpKernelTest.php ├── TypeChecker │ ├── ApplyTypeChecksTest.php │ └── TypeChecker │ │ ├── BooleanTypeCheckerTest.php │ │ ├── CallableTypeCheckerTest.php │ │ ├── GenericObjectTypeCheckerTest.php │ │ ├── IntegerTypeCheckerTest.php │ │ ├── MixedTypeCheckerTest.php │ │ ├── NullTypeCheckerTest.php │ │ ├── ObjectTypeCheckerTest.php │ │ ├── ResourceTypeCheckerTest.php │ │ ├── StringTypeCheckerTest.php │ │ └── TypedTraversableCheckerTest.php └── TypeFinder │ ├── ParameterTypeFinderTest.php │ ├── PropertyTypeFinderTest.php │ └── ReturnTypeFinderTest.php ├── StrictPhpTestAsset ├── ClassHintingAgainstImportOfOwnNamespace.php ├── ClassThatDependsOnHello.php ├── ClassWithCallableTypedProperty.php ├── ClassWithComplexParameterOnMethod.php ├── ClassWithGenericArrayTypedProperty.php ├── ClassWithGenericIntTypedProperty.php ├── ClassWithGenericIntegerTypedProperty.php ├── ClassWithGenericNonTypedProperty.php ├── ClassWithGenericObjectTypedProperty.php ├── ClassWithGenericResourceTypedProperty.php ├── ClassWithGenericStringTypedProperty.php ├── ClassWithHelloImplementationAndAdditionalMethod.php ├── ClassWithImmutableProperty.php ├── ClassWithImportedHintClasses.php ├── ClassWithIncorrectlyInitializedParentClassProperties.php ├── ClassWithIncorrectlyInitializingConstructor.php ├── ClassWithMethodWithNoHints.php ├── ClassWithMethodWithSelfHint.php ├── ClassWithMethodWithStaticHint.php ├── ClassWithMultipleParamsTypedMethodAnnotation.php ├── ClassWithReturnTypeMethod.php ├── ClassWithSameTypedProperty.php ├── ClassWithSelfTypedProperty.php ├── ClassWithStaticTypedProperty.php ├── ClassWithStdClassTypedProperty.php ├── ClassWithTypedArrayMethodParameterAnnotation.php ├── ClassWithTypedArrayProperty.php ├── ClassWithVariadicInterfaceParameters.php ├── HelloInterface.php └── ParentClassWithInitializingConstructor.php └── functional ├── array-typed-property-violation.phpt ├── call-to-method-typed-with-multiparams-violation.phpt ├── call-to-method-with-typed-array-violation.phpt ├── call-to-non-interfaced-method-violation.phpt ├── callable-typed-property-violation.phpt ├── immutable-property-violation.phpt ├── init.php ├── int-typed-property-violation.phpt ├── integer-typed-property-violation.phpt ├── multiple-parameter-types-resolver.phpt ├── object-typed-property-violation.phpt ├── resource-typed-property-violation.phpt ├── return-mixed-collection-type-violation.phpt ├── return-object-type-violation.phpt ├── return-self-type-violation.phpt ├── return-static-type-violation.phpt ├── return-stdclass-type-violation.phpt ├── return-string-type-violation.phpt ├── return-this-type-violation.phpt ├── same-typed-property-violation.phpt ├── self-typed-property-violation.phpt ├── static-typed-property-violation.phpt ├── stdclass-typed-property-violation.phpt ├── string-typed-property-violation.phpt ├── typed-array-property-violation.phpt ├── uninitialized-parent-class-properties-violation.phpt └── uninitialized-properties-in-constructor-violation.phpt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/.gitignore -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/composer.json -------------------------------------------------------------------------------- /couscous.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/couscous.yml -------------------------------------------------------------------------------- /docs/basic-strict.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/basic-strict.md -------------------------------------------------------------------------------- /docs/bootstrap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/bootstrap.md -------------------------------------------------------------------------------- /docs/current-limitation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/current-limitation.md -------------------------------------------------------------------------------- /docs/immutability.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/immutability.md -------------------------------------------------------------------------------- /docs/installing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/installing.md -------------------------------------------------------------------------------- /docs/parameter-checking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/parameter-checking.md -------------------------------------------------------------------------------- /docs/parameter-interface-jailing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/parameter-interface-jailing.md -------------------------------------------------------------------------------- /docs/property-type-checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/property-type-checks.md -------------------------------------------------------------------------------- /docs/public-constructor-property-initialization-checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/public-constructor-property-initialization-checks.md -------------------------------------------------------------------------------- /docs/return-type-checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/docs/return-type-checks.md -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/StrictPhp/AccessChecker/ObjectStateChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/AccessChecker/ObjectStateChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/AccessChecker/ParameterInterfaceJailer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/AccessChecker/ParameterInterfaceJailer.php -------------------------------------------------------------------------------- /src/StrictPhp/AccessChecker/ParameterTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/AccessChecker/ParameterTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/AccessChecker/PropertyWriteImmutabilityChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/AccessChecker/PropertyWriteImmutabilityChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/AccessChecker/PropertyWriteTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/AccessChecker/PropertyWriteTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/AccessChecker/ReturnTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/AccessChecker/ReturnTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/Aspect/PostConstructAspect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/Aspect/PostConstructAspect.php -------------------------------------------------------------------------------- /src/StrictPhp/Aspect/PostPublicMethodAspect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/Aspect/PostPublicMethodAspect.php -------------------------------------------------------------------------------- /src/StrictPhp/Aspect/PrePublicMethodAspect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/Aspect/PrePublicMethodAspect.php -------------------------------------------------------------------------------- /src/StrictPhp/Aspect/PropertyWriteAspect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/Aspect/PropertyWriteAspect.php -------------------------------------------------------------------------------- /src/StrictPhp/Reflection/AllProperties.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/Reflection/AllProperties.php -------------------------------------------------------------------------------- /src/StrictPhp/StrictPhpKernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/StrictPhpKernel.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/ApplyTypeChecks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/ApplyTypeChecks.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/BooleanTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/BooleanTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/CallableTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/CallableTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/GenericObjectTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/GenericObjectTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/IntegerTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/IntegerTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/MixedTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/MixedTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/NullTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/NullTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/ObjectTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/ObjectTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/ResourceTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/ResourceTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/StringTypeChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/StringTypeChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeChecker/TypedTraversableChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeChecker/TypedTraversableChecker.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeChecker/TypeCheckerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeChecker/TypeCheckerInterface.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeFinder/ParameterTypeFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeFinder/ParameterTypeFinder.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeFinder/PropertyTypeFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeFinder/PropertyTypeFinder.php -------------------------------------------------------------------------------- /src/StrictPhp/TypeFinder/ReturnTypeFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/src/StrictPhp/TypeFinder/ReturnTypeFinder.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/AccessChecker/ObjectStateCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/AccessChecker/ObjectStateCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/AccessChecker/ParameterInterfaceJailerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/AccessChecker/ParameterInterfaceJailerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/AccessChecker/ParameterTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/AccessChecker/ParameterTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/AccessChecker/PropertyWriteImmutabilityCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/AccessChecker/PropertyWriteImmutabilityCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/AccessChecker/PropertyWriteTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/AccessChecker/PropertyWriteTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/AccessChecker/ReturnTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/AccessChecker/ReturnTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/Aspect/PostConstructAspectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/Aspect/PostConstructAspectTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/Aspect/PostPublicMethodAspectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/Aspect/PostPublicMethodAspectTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/Aspect/PrePublicMethodAspectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/Aspect/PrePublicMethodAspectTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/Aspect/PropertyWriteAspectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/Aspect/PropertyWriteAspectTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/Reflection/AllPropertiesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/Reflection/AllPropertiesTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/StrictPhpKernelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/StrictPhpKernelTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/ApplyTypeChecksTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/ApplyTypeChecksTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/BooleanTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/BooleanTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/CallableTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/CallableTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/GenericObjectTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/GenericObjectTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/IntegerTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/IntegerTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/MixedTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/MixedTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/NullTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/NullTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/ObjectTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/ObjectTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/ResourceTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/ResourceTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/StringTypeCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/StringTypeCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeChecker/TypeChecker/TypedTraversableCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeChecker/TypeChecker/TypedTraversableCheckerTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeFinder/ParameterTypeFinderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeFinder/ParameterTypeFinderTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeFinder/PropertyTypeFinderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeFinder/PropertyTypeFinderTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTest/TypeFinder/ReturnTypeFinderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTest/TypeFinder/ReturnTypeFinderTest.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassHintingAgainstImportOfOwnNamespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassHintingAgainstImportOfOwnNamespace.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassThatDependsOnHello.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassThatDependsOnHello.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithCallableTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithCallableTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithComplexParameterOnMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithComplexParameterOnMethod.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericArrayTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericArrayTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericIntTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericIntTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericIntegerTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericIntegerTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericNonTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericNonTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericObjectTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericObjectTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericResourceTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericResourceTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithGenericStringTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithGenericStringTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithHelloImplementationAndAdditionalMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithHelloImplementationAndAdditionalMethod.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithImmutableProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithImmutableProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithImportedHintClasses.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithImportedHintClasses.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithIncorrectlyInitializedParentClassProperties.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithIncorrectlyInitializedParentClassProperties.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithIncorrectlyInitializingConstructor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithIncorrectlyInitializingConstructor.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithMethodWithNoHints.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithMethodWithNoHints.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithMethodWithSelfHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithMethodWithSelfHint.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithMethodWithStaticHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithMethodWithStaticHint.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithMultipleParamsTypedMethodAnnotation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithMultipleParamsTypedMethodAnnotation.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithReturnTypeMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithReturnTypeMethod.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithSameTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithSameTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithSelfTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithSelfTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithStaticTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithStaticTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithStdClassTypedProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithStdClassTypedProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithTypedArrayMethodParameterAnnotation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithTypedArrayMethodParameterAnnotation.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithTypedArrayProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithTypedArrayProperty.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ClassWithVariadicInterfaceParameters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ClassWithVariadicInterfaceParameters.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/HelloInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/HelloInterface.php -------------------------------------------------------------------------------- /tests/StrictPhpTestAsset/ParentClassWithInitializingConstructor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/StrictPhpTestAsset/ParentClassWithInitializingConstructor.php -------------------------------------------------------------------------------- /tests/functional/array-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/array-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/call-to-method-typed-with-multiparams-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/call-to-method-typed-with-multiparams-violation.phpt -------------------------------------------------------------------------------- /tests/functional/call-to-method-with-typed-array-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/call-to-method-with-typed-array-violation.phpt -------------------------------------------------------------------------------- /tests/functional/call-to-non-interfaced-method-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/call-to-non-interfaced-method-violation.phpt -------------------------------------------------------------------------------- /tests/functional/callable-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/callable-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/immutable-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/immutable-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/init.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/init.php -------------------------------------------------------------------------------- /tests/functional/int-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/int-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/integer-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/integer-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/multiple-parameter-types-resolver.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/multiple-parameter-types-resolver.phpt -------------------------------------------------------------------------------- /tests/functional/object-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/object-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/resource-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/resource-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-mixed-collection-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-mixed-collection-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-object-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-object-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-self-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-self-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-static-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-static-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-stdclass-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-stdclass-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-string-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-string-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/return-this-type-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/return-this-type-violation.phpt -------------------------------------------------------------------------------- /tests/functional/same-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/same-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/self-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/self-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/static-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/static-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/stdclass-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/stdclass-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/string-typed-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/string-typed-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/typed-array-property-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/typed-array-property-violation.phpt -------------------------------------------------------------------------------- /tests/functional/uninitialized-parent-class-properties-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/uninitialized-parent-class-properties-violation.phpt -------------------------------------------------------------------------------- /tests/functional/uninitialized-properties-in-constructor-violation.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/StrictPhp/HEAD/tests/functional/uninitialized-properties-in-constructor-violation.phpt --------------------------------------------------------------------------------