maslosoft / hedron Goto Github PK
View Code? Open in Web Editor NEWHeader applier for php projects
Home Page: https://maslosoft.com/hedron/
License: Other
Header applier for php projects
Home Page: https://maslosoft.com/hedron/
License: Other
There might be some classes, which are generated from time to time, so that applying header would be reverted anyway and do unnecessary diffs.
in src/Finder/Filter.php, line 49
This method has no explicit visibility which may lead to maintenability issues. You should always declare a visibility for methods and properties.
* @author Piotr Maselkowski <pmaselkowski at gmail.com>
* @param $workingDir
* @param array $config
* @param LoggerInterface|null $output
*/
function __construct($workingDir, $config = [], LoggerInterface $output = null)
{
$this->workingDir = $workingDir;
$this->filter = new FileFilter;
if (empty($output))
Posted from SymfonyInsight
Some leftover, should be public function
...
Currently to filter out files, many dependencies are installed. This must be minimized.
This should be implemented as shared component:
Maslosoft/CLIShared#1
Current:
$ vendor/bin/hedron show
This is how template will look like in files:
PHP Notice: Undefined index: name in C:\geo\gml-exporter\vendor\maslosoft\hedron\src\Configuration.php on line 72
PHP Stack trace:
PHP 1. {main}() C:\geo\gml-exporter\vendor\maslosoft\hedron\hedron:0
PHP 2. Symfony\Component\Console\Application->run() C:\geo\gml-exporter\vendor\maslosoft\hedron\hedron:39
PHP 3. Symfony\Component\Console\Application->doRun() C:\geo\gml-exporter\vendor\symfony\console\Application.php:145
PHP 4. Symfony\Component\Console\Application->doRunCommand() C:\geo\gml-exporter\vendor\symfony\console\Application.php:262
PHP 5. Maslosoft\Hedron\Commands\RenderTemplateCommand->run() C:\geo\gml-exporter\vendor\symfony\console\Application.php:886
PHP 6. Maslosoft\Hedron\Commands\RenderTemplateCommand->execute() C:\geo\gml-exporter\vendor\symfony\console\Command\Command.php:255
PHP 7. Maslosoft\Hedron\Configuration->load() C:\geo\gml-exporter\vendor\maslosoft\hedron\src\Commands\RenderTemplateCommand.php:48
/**
* This software package is licensed under `` license[s].
*
* @package
* @license
*
*/
Expected
When some property is not set, do something wise:
Currently preview
command list's all files which are about to be processed.
It will be more usefull to list only file which will be changed - filter out files with proper headers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.