We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c07cfa7 + d986886 commit eb2018dCopy full SHA for eb2018d
1 file changed
pipe/pipe.py
@@ -137,19 +137,14 @@ def filter_paths(path):
137
"-d",
138
"memory_limit=512M",
139
"--report=junit",
140
+ "--report-file=test-results/phpcs.xml"
141
f"--standard={self.standards}"
142
] + changed_files
143
144
phpcs = subprocess.run(phpcs_command, stdout=subprocess.PIPE,
145
stderr=subprocess.PIPE, universal_newlines=True)
146
self.standards_failure = False if phpcs.returncode == 0 else True
147
- phpcs_output = phpcs.stdout.strip()
148
-
149
- if phpcs_output:
150
- with open("test-results/phpcs.xml", 'a') as output_file:
151
- output_file.write(phpcs_output)
152
153
def composer_install(self):
154
composer_install_command = ["composer", "install", "--dev"]
155
composer_install = subprocess.run(composer_install_command)
0 commit comments