Skip to content

Commit 84a49b0

Browse files
committed
Release v1.0
1 parent 205c2ac commit 84a49b0

File tree

3 files changed

+74
-2
lines changed

3 files changed

+74
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Dependency injection service container",
44
"type": "library",
55
"license": "MIT",
6-
"version": "0.2",
6+
"version": "1.0",
77
"autoload": {
88
"psr-4": {
99
"Micro\\Component\\DependencyInjection\\": "src/"
@@ -18,6 +18,6 @@
1818
"require": {
1919
"php": ">=8.0",
2020
"psr/container": "^2.0",
21-
"micro/autowire": "*"
21+
"micro/autowire": "^1"
2222
}
2323
}

phpcs.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ruleset name="pcsg-generated-ruleset">
3+
<file>src/</file>
4+
<arg name="basepath" value="."/>
5+
<arg name="colors"/>
6+
<description>
7+
Micro Framework - сode formatting rules.
8+
</description>
9+
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
10+
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
11+
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
12+
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
13+
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
14+
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
15+
<rule ref="Generic.Files.ByteOrderMark"/>
16+
<rule ref="Generic.Files.LineEndings"/>
17+
<rule ref="Generic.Files.LineLength"/>
18+
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
19+
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
20+
<rule ref="Generic.Formatting.NoSpaceAfterCast"/>
21+
<rule ref="Generic.Functions.CallTimePassByReference"/>
22+
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
23+
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
24+
<rule ref="Generic.Metrics.NestingLevel"/>
25+
<rule ref="Generic.NamingConventions.ConstructorName"/>
26+
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
27+
<rule ref="Generic.NamingConventions.CamelCapsFunctionName"/>
28+
<rule ref="Generic.PHP.DeprecatedFunctions"/>
29+
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
30+
<rule ref="Generic.PHP.ForbiddenFunctions"/>
31+
<rule ref="Generic.PHP.LowerCaseConstant"/>
32+
<rule ref="Generic.PHP.NoSilencedErrors"/>
33+
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
34+
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
35+
<rule ref="MySource.PHP.EvalObjectFactory"/>
36+
<rule ref="MySource.PHP.GetRequestData"/>
37+
<rule ref="PEAR.Classes.ClassDeclaration"/>
38+
<rule ref="PEAR.Commenting.InlineComment"/>
39+
<rule ref="PEAR.ControlStructures.MultiLineCondition"/>
40+
<rule ref="PEAR.Files.IncludingFile"/>
41+
<rule ref="PEAR.Formatting.MultiLineAssignment"/>
42+
<rule ref="PEAR.Functions.ValidDefaultValue"/>
43+
<rule ref="PEAR.NamingConventions.ValidClassName"/>
44+
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent"/>
45+
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace"/>
46+
<rule ref="PEAR.WhiteSpace.ScopeIndent"/>
47+
<rule ref="PSR1.Classes.ClassDeclaration"/>
48+
<rule ref="PSR1.Files.SideEffects"/>
49+
<rule ref="PSR2.Classes.ClassDeclaration"/>
50+
<rule ref="PSR2.Classes.PropertyDeclaration"/>
51+
<rule ref="PSR2.ControlStructures.ControlStructureSpacing"/>
52+
<rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
53+
<rule ref="PSR2.ControlStructures.SwitchDeclaration"/>
54+
<rule ref="PSR2.Files.EndFileNewline"/>
55+
<rule ref="PSR2.Methods.MethodDeclaration"/>
56+
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
57+
<rule ref="PSR2.Namespaces.UseDeclaration"/>
58+
</ruleset>

phpmd.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<pmd version="0.0.1" timestamp="2009-12-19T22:17:18+01:00">
3+
<file name="/projects/pdepend/PHP/Depend/DbusUI/ResultPrinter.php">
4+
<violation beginline="67"
5+
endline="224"
6+
rule="TooManyMethods"
7+
ruleset="Code Size Rules"
8+
package="PHP_Depend\DbusUI"
9+
class="PHP_Depend_DbusUI_ResultPrinter"
10+
priority="3">
11+
This class has too many methods, consider refactoring it.
12+
</violation>
13+
</file>
14+
</pmd>

0 commit comments

Comments
 (0)