Comments (19)
Could you share a screenshot?
from phpinsights.
@JustSteveKing Thank you very much for merging this so quickly - and for working on this great package!
from phpinsights.
from phpinsights.
I think that is actually a problem from your theme. Can you tell me the theme of your terminal and the terminal you use?
from phpinsights.
I don't have a theme in Laravel Homestead.
from phpinsights.
I can't replicate this on my side, I always get natural colours:
from phpinsights.
@stephenlake which system do you use if you can't replicate this?
from phpinsights.
A little bit of everything, except Windoze. Judging by that font style from your terminal screenshot, I'm guessing you're running homestead on Windoze?
from phpinsights.
yes it runs on windows 10
from phpinsights.
Same here. Followed https://phpinsights.com/get-started.html#within-laravel to the letter on a Windows 10 64 bits environment for a Laravel application.
Hard to read, because of contrast in the collored boxes for code, complexity, architecture and style. Virtually not readable when in 80-100 scale.
from phpinsights.
We are using the ascii colors. What terminal are you using?
A suggestion could be to make a bigger contrast on the colors, like this
from phpinsights.
@caneco Maybe can help here.
from phpinsights.
No plans to work on this at this time.
from phpinsights.
I have the same problem on a Windows 10 (21H2) machine using Take Command v28 as terminal (same in CMD and PowerShell); it looks like in the first screenshot from @ghost.
It seems that the fg=black
definition in the Console constants QUALITY, COMPLEXITY, STRUCTURE, and STYLE doesn't work correctly on Windows (at least not on my system); when I change it to fg=white
, the percentages are clearly readable.
I couldn't find out yet what the problem with a black foreground is, but maybe it could be changed to white so that all users can see the percentages without using workarounds like selecting the text with the mouse.
from phpinsights.
I have the same problem on a Windows 10 (21H2) machine using Take Command v28 as terminal (same in CMD and PowerShell); it looks like in the first screenshot from @ghost.
It seems that the fg=black definition in the Console constants QUALITY, COMPLEXITY, STRUCTURE, and STYLE doesn't work correctly on Windows (at least not on my system); when I change it to fg=white, the percentages are clearly readable.
I couldn't find out yet what the problem with a black foreground is, but maybe it could be changed to white so that all users can see the percentages without using workarounds like selecting the text with the mouse.
Yeah I think unfortunately we have a tendency to only test this on mac at times. Happy to accept a PR on this?
from phpinsights.
Unfortunately 14 of the tests failed on my system (Windows 10 / XAMPP 8.1.6, which features PHP 8.1.6) directly after cloning the forked repository and running composer install
, before I had changed anything. Not sure if this is a Windows problem, too. The tests haven't been run on GitHub after creating the PR:
First-time contributors need a maintainer to approve running workflows.
Since it's a micro-change, I don't think I can possibly have caused any problems - the same 14 tests failed after the modification.
from phpinsights.
Unfortunately 14 of the tests failed on my system (Windows 10 / XAMPP 8.1.6, which features PHP 8.1.6) directly after cloning the forked repository and running
composer install
, before I had changed anything. Not sure if this is a Windows problem, too. The tests haven't been run on GitHub after creating the PR:First-time contributors need a maintainer to approve running workflows.
Since it's a micro-change, I don't think I can possibly have caused any problems - the same 14 tests failed after the modification.
Thanks for this, just running the workflows not for due diligence. Both @cmgmyr and myself are in the process of planning the next stable version which will hopefully see some performance improvements alongside stability in the testing.
As soon as these workflows have ran I will merge, from the files I can see that it is only UI changing for the terminal so it shouldn't effect anything else
from phpinsights.
@enigmatic-user new release includes this fix. As this is an accessibility fix I thought it made sense to get it out as soon as possible.
Thanks for your contribution!
from phpinsights.
@JustSteveKing Thank you very much for merging this so quickly - and for working on this great package!
You're most welcome!
I don't do much on the package atm though! We are planning the next major release atm though 🙂
from phpinsights.
Related Issues (20)
- Github actions skips config file HOT 1
- Configure insights (dokumentation)
- Configured excludes are ignored when specifying paths in the command
- Is there any sniff available for valid variable name when preset is Laravel
- DisallowedShortTernaryOperator suppress doesnt work
- How to add and config a PHP CS Fixer?
- Replace PHP cs fixer to Laravel pint? HOT 2
- Differences between switch and match sentences, impact on Cyclomatic Complexity HOT 5
- Provided files are ignored
- Support Symfony 7 HOT 4
- Add links to details or examples
- Ordered imports verification is incorrect
- Parameter type hint: Unparsable php code
- PHP CodeSniffer alternative HOT 2
- I am getting timeout error. Please guide me solution. HOT 2
- Laravel Lumen Error while running "php artisan insights" HOT 1
- Deprecated creation of dynamic property in SniffLoader
- Can not ignore SlevomatCodingStandard\Sniffs\Functions\FunctionLengthSniff
- Cannot install on laravel project based on php 8.3.4 | Your requirements could not be resolved to an installable set of packages. HOT 2
- Can't use with PHPUnit 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpinsights.