comparator
Provides the functionality to compare PHP values for equality.
파일 탐색기
최종 버전 다운로드 (.zip)- api-surface-check.yaml
- api-surface-comment.yaml
- ci.yaml
- release.yaml
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- FUNDING.yml
- phars.xml
- extract-release-notes.php
- Exception.php
- RuntimeException.php
- ArrayComparator.php
- ClosureComparator.php
- Comparator.php
- ComparisonFailure.php
- DateIntervalComparator.php
- DateTimeComparator.php
- DOMNodeComparator.php
- EnumerationComparator.php
- ExceptionComparator.php
- Factory.php
- MockObjectComparator.php
- NumberComparator.php
- NumericComparator.php
- ObjectComparator.php
- ResourceComparator.php
- ScalarComparator.php
- SplObjectStorageComparator.php
- TypeComparator.php
- Author.php
- Book.php
- ChildClassWithPrivateProperty.php
- ClassWithToString.php
- ClosureFixture.php
- Example.php
- ExampleInt.php
- ExampleString.php
- NonSerializableClass.php
- ParentClassWithPrivateProperty.php
- SampleClass.php
- SampleClassExporter.php
- Struct.php
- TestClass.php
- TestClassComparator.php
- ArrayComparatorTest.php
- ClosureComparatorTest.php
- ComparisonFailureTest.php
- DateIntervalComparatorTest.php
- DateTimeComparatorTest.php
- DOMNodeComparatorTest.php
- EnumerationComparatorTest.php
- ExceptionComparatorTest.php
- FactoryTest.php
- MockObjectComparatorTest.php
- NumberComparatorTest.php
- NumericComparatorTest.php
- ObjectComparatorTest.php
- ResourceComparatorTest.php
- ScalarComparatorTest.php
- SplObjectStorageComparatorTest.php
- TypeComparatorTest.php
- phpstan
- phpstan.phar
- autoload_classmap.php
- autoload_files.php
- autoload_namespaces.php
- autoload_psr4.php
- autoload_real.php
- autoload_static.php
- ClassLoader.php
- installed.json
- installed.php
- InstalledVersions.php
- LICENSE
- NoNamedArgumentRule.php
- TestCaseWithSuffixRule.php
- FinalRule.php
- NoExtendsRule.php
- NoNullableReturnTypeDeclarationRule.php
- NoParameterPassedByReferenceRule.php
- NoParameterWithNullableTypeDeclarationRule.php
- NoParameterWithNullDefaultValueRule.php
- NoAssignByReferenceRule.php
- NoCompactRule.php
- NoErrorSuppressionRule.php
- NoEvalRule.php
- NoIssetRule.php
- DeclareStrictTypesRule.php
- NoPhpstanIgnoreRule.php
- NoNullableReturnTypeDeclarationRule.php
- NoParameterPassedByReferenceRule.php
- NoParameterWithNullableTypeDeclarationRule.php
- NoParameterWithNullDefaultValueRule.php
- NoReturnByReferenceRule.php
- FinalInAbstractClassRule.php
- InvokeParentHookMethodRule.php
- NoConstructorParameterWithDefaultValueRule.php
- NoNullableReturnTypeDeclarationRule.php
- NoParameterPassedByReferenceRule.php
- NoParameterWithContainerTypeDeclarationRule.php
- NoParameterWithNullableTypeDeclarationRule.php
- NoParameterWithNullDefaultValueRule.php
- NoReturnByReferenceRule.php
- PrivateInFinalClassRule.php
- NoSwitchRule.php
- Analyzer.php
- ClassName.php
- ErrorIdentifier.php
- HasContent.php
- HookMethod.php
- Invocation.php
- MethodName.php
- CHANGELOG.md
- composer.json
- LICENSE.md
- README.md
- rules.neon
- GeneratedConfig.php
- Plugin.php
- composer.json
- LICENSE
- README.md
- bleedingEdge.neon
- phpstan_turbo-8.3-zts.so
- phpstan_turbo-8.3.so
- phpstan_turbo-8.4-zts.so
- phpstan_turbo-8.4.so
- phpstan_turbo-8.5-zts.so
- phpstan_turbo-8.5.so
- phpstan_turbo-8.3-zts.so
- phpstan_turbo-8.3.so
- phpstan_turbo-8.4-zts.so
- phpstan_turbo-8.4.so
- phpstan_turbo-8.5-zts.so
- phpstan_turbo-8.5.so
- phpstan_turbo-8.3.so
- phpstan_turbo-8.4.so
- phpstan_turbo-8.5.so
- phpstan_turbo-8.3.so
- phpstan_turbo-8.4.so
- phpstan_turbo-8.5.so
- phpstan_turbo-8.3.so
- phpstan_turbo-8.4.so
- phpstan_turbo-8.5.so
- phpstan_turbo-8.3-zts.dll
- phpstan_turbo-8.3.dll
- phpstan_turbo-8.4-zts.dll
- phpstan_turbo-8.4.dll
- phpstan_turbo-8.5-zts.dll
- phpstan_turbo-8.5.dll
- .version
- bootstrap.php
- CLAUDE.md
- composer.json
- LICENSE
- phpstan
- phpstan.phar
- phpstan.phar.asc
- README.md
- UPGRADING.md
- BooleanInBooleanAndRule.php
- BooleanInBooleanNotRule.php
- BooleanInBooleanOrRule.php
- BooleanInDoWhileConditionRule.php
- BooleanInElseIfConditionRule.php
- BooleanInIfConditionRule.php
- BooleanInTernaryOperatorRule.php
- BooleanInWhileConditionRule.php
- BooleanRuleHelper.php
- UselessCastRule.php
- RequireParentConstructCallRule.php
- DisallowedBacktickRule.php
- DisallowedEmptyRule.php
- DisallowedImplicitArrayCreationRule.php
- DisallowedLooseComparisonRule.php
- DisallowedShortTernaryRule.php
- OverwriteVariablesWithForeachRule.php
- OverwriteVariablesWithForLoopInitRule.php
- ArrayFilterStrictRule.php
- ClosureUsesThisRule.php
- IllegalConstructorMethodCallRule.php
- IllegalConstructorStaticCallRule.php
- WrongCaseOfInheritedMethodRule.php
- OperandInArithmeticIncrementOrDecrementRule.php
- OperandInArithmeticPostDecrementRule.php
- OperandInArithmeticPostIncrementRule.php
- OperandInArithmeticPreDecrementRule.php
- OperandInArithmeticPreIncrementRule.php
- OperandInArithmeticUnaryMinusRule.php
- OperandInArithmeticUnaryPlusRule.php
- OperandsInArithmeticAdditionRule.php
- OperandsInArithmeticDivisionRule.php
- OperandsInArithmeticExponentiationRule.php
- OperandsInArithmeticModuloRule.php
- OperandsInArithmeticMultiplicationRule.php
- OperandsInArithmeticSubtractionRule.php
- OperatorRuleHelper.php
- DynamicCallOnStaticMethodsCallableRule.php
- DynamicCallOnStaticMethodsRule.php
- StrictFunctionCallsRule.php
- MatchingTypeInSwitchCaseConditionRule.php
- VariableMethodCallableRule.php
- VariableMethodCallRule.php
- VariablePropertyFetchRule.php
- VariableStaticMethodCallableRule.php
- VariableStaticMethodCallRule.php
- VariableStaticPropertyFetchRule.php
- VariableVariablesRule.php
- composer.json
- LICENSE
- README.md
- rules.neon
- extension.neon
- extension.neon
- PublicClassMethodParamTypesCollector.php
- MethodCallArgTypesCollector.php
- MethodCallableCollector.php
- ResolvedTypes.php
- EmptyIssetGuard.php
- PublicClassMethodMatcher.php
- ClassMethodCallReferenceResolver.php
- ClassMethodNodeFinder.php
- MethodCallNodeFinder.php
- ReturnNodeFinder.php
- CallableNodeVisitor.php
- ApiDocStmtAnalyzer.php
- CollectorMetadataPrinter.php
- NodeComparator.php
- MethodNodeAnalyser.php
- ReflectionParser.php
- NarrowPrivateClassMethodParamTypeRule.php
- NarrowPublicClassMethodParamTypeRule.php
- NarrowReturnObjectTypeRule.php
- NoArrayAccessOnObjectRule.php
- NoEmptyOnObjectRule.php
- NoIssetOnObjectRule.php
- NoMixedMethodCallerRule.php
- NoMixedPropertyFetcherRule.php
- NoParamTypeRemovalRule.php
- ReturnNullOverFalseRule.php
- MethodCallReference.php
- Configuration.php
- included_services.neon
- DifferentClassSameMethodCallName.php
- DoubleShot.php
- Fixture.php
- SkipAbstractBase.php
- SkipAlreadyCorrectType.php
- SkipCorrectUnionType.php
- SkipDuplicatedCallOfSameMethodWithComment.php
- SkipGenericType.php
- SkipMayOverrideArg.php
- SkipMixed.php
- SkipMultipleUsed.php
- SkipNoArgs.php
- SkipNotFromThis.php
- SkipNotPrivate.php
- SkipOptedOut.php
- SkipParentNotIf.php
- SkipRecursive.php
- SkipSameGeneric.php
- SkipVariadics.php
- AnotherClassWithRun.php
- ConceptBase.php
- ConceptImpl1.php
- MyIterator.php
- MyPreise.php
- NarrowPrivateClassMethodParamTypeRuleTest.php
- CallVariadics.php
- SomeCalledMethod.php
- SkipPassedGenerics.php
- SkipSameGeneric.php
- ExplicitlyNullableParams.php
- HandleDefaultValue.php
- PublicDoubleShot.php
- SkipApiMarked.php
- SkipCallable.php
- SkipClassStringPassed.php
- SkipClosure.php
- SkipDateTimeMix.php
- SkipDefault.php
- SkipEnum.php
- SkipEqualUnionType.php
- SkipExpectedClassType.php
- SkipMixedAndString.php
- SkipNonPublicClassMethod.php
- SkipNullableCompare.php
- SkipProperlyFilledParamType.php
- SkipResource.php
- SkipSelf.php
- SkipThisPassedExactType.php
- SkipUsedInternallyForSecondType.php
- ThisPassedFromInterface.php
- FirstTypedCaller.php
- SecondTypedCaller.php
- FirstClassTypedCaller.php
- SecondClassTypedCaller.php
- CallWithProperty.php
- CallByThis.php
- CallByThisFromInterface.php
- FirstTypedCaller.php
- OnlyFirstTypeCalledOutside.php
- SecondTypedCaller.php
- CallUnionArrayType.php
- CallUnionType.php
- CallUnionTypeFlipped.php
- CallUnionTypeTernaryIfElse.php
- CallUnionTypeTernaryIfElseFlipped.php
- FirstCaller.php
- SecondCaller.php
- ThirdCaller.php
- FirstNullable.php
- SecondNullable.php
- MyGroup.php
- MyIterator.php
- MyService.php
- FirstCaller.php
- PassMeAsType.php
- PickReasonEnum.php
- SecondCaller.php
- SomeInterface.php
- NarrowPublicClassMethodParamTypeRuleTest.php
- SkipSomeContract.php
- SkipSpecificReturnType.php
- SomeAbstractReturnType.php
- AbstractControl.php
- SomeContract.php
- SpecificControl.php
- NarrowReturnObjectTypeRuleTest.php
- ArrayAccessOnNestedObject.php
- ArrayAccessOnObject.php
- SkipIterator.php
- SkipOnArray.php
- SkipSplFixedArray.php
- SkipUriElement.php
- SkipWeakMap.php
- SkipXml.php
- SkipXmlElementForeach.php
- ChildOfSomeClassWithArrayAccess.php
- SomeClassWithArrayAccess.php
- SomeClassWithSplFixedArray.php
- NoArrayAccessOnObjectRuleTest.php
- EmptyOnObject.php
- SkipEmptyOnArray.php
- SkipEmptyOnArrayNestedOnObject.php
- SkipPhpDocType.php
- SkipPossibleUndefinedVariable.php
- NoEmptyOnObjectRuleTest.php
- IssetOnObject.php
- SkipIssetOnArray.php
- SkipIssetOnArrayNestedOnObject.php
- SkipIssetOnPropertyFetch.php
- SkipPhpDocType.php
- SkipPossibleUndefinedVariable.php
- Foo.php
- NoIssetOnObjectRuleTest.php
- MagicMethodName.php
- SkipKnownCallerType.php
- SkipMockObject.php
- SkipPHPUnitMock.php
- UnknownCallerType.php
- KnownType.php
- SomeFinalClass.php
- NoMixedMethodCallerRuleTest.php
- DynamicName.php
- SkipDynamicNameWithKnownType.php
- SkipKnownFetcherType.php
- UnknownPropertyFetcher.php
- KnownType.php
- NoMixedPropertyFetcherRuleTest.php
- AnInterface.php
- AnInterfaceOther.php
- HasDifferentParameterWithInterfaceMethod.php
- HasDifferentParameterWithParentMethod.php
- ParentClass.php
- RemoveParentType.php
- SkipConstruct.php
- SkipHasSameParameterWithInterfaceMethod.php
- SkipHasSameParameterWithParentMethod.php
- SkipIndirectRemoval.php
- SkipNoParent.php
- SkipNotHasParentMethod.php
- SkipNoType.php
- SkipPhpDocType.php
- SkipPresentType.php
- NoTypeInterface.php
- PhpDocType.php
- SomeNode.php
- SomeRectorInterface.php
- NoParamTypeRemovalRuleTest.php
- CheckResultFromOtherMethod.php
- CheckResultFromOtherMethod2.php
- ReturnFalseOnly.php
- SkipReturnBool.php
- ReturnNullOverFalseRuleTest.php
- SomeClass.php.inc
- LICENSE
- ConstantTypeDeclarationCollector.php
- DeclareCollector.php
- ParamTypeDeclarationCollector.php
- PropertyTypeDeclarationCollector.php
- ReturnTypeDeclarationCollector.php
- ScopeConfigurationResolver.php
- TypeCoverageFormatter.php
- ConstantTypeCoverageRule.php
- DeclareCoverageRule.php
- ParamTypeCoverageRule.php
- PropertyTypeCoverageRule.php
- ReturnTypeCoverageRule.php
- TypeCountAndMissingTypes.php
- CollectorDataNormalizer.php
- Configuration.php
- composer-dependency-analyser.php
- composer.json
- LICENSE
- README.md
- Assert.php
- HasAssert.php
- InvalidArgumentException.php
- Mixin.php
- PsalmPlugin.php
- CHANGELOG.md
- composer.json
- LICENSE
- README.md
- autoload.php
- composer.json
- composer.lock
- composer
- phive
- php-cs-fixer
- phpstan
- .gitattributes
- .gitignore
- .php-cs-fixer.dist.php
- build.xml
- ChangeLog.md
- composer.json
- LICENSE
- phpstan.neon
- phpunit.xml
- README.md
- renovate.json
- SECURITY.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/sebastianbergmann/comparator
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd comparator
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. PHP (Composer)
쉬움 추천사전 준비물
composer require sebastian/comparator
이 명령어를 터미널에 그대로 입력해 실행하세요.
composer require --dev sebastian/comparator
이 명령어를 터미널에 그대로 입력해 실행하세요.
php -S localhost:8000 같은 내장 서버로 실행한 뒤 브라우저에서 http://localhost:8000 으로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
