Comments (10)
@Francismori7 not sure if this helps, but once I faced similar issue with running Pest from Sublime Text under WSL2, I've used this command
wsl.exe --cd "/home/stan/www/laravel-test" vendor/bin/sail artisan test --filter ExampleTest
that you can adapt and try something like this:wsl.exe --cd "/home/morfra/code/XXX" vendor/bin/pint app/Http/Middleware/RecordPageViewsToActivityLog.php
This worked very nicely. Thanks for the help!
from pint.
@Francismori7 not sure if this helps, but once I faced similar issue with running Pest from Sublime Text under WSL2, I've used this command wsl.exe --cd "/home/stan/www/laravel-test" vendor/bin/sail artisan test --filter ExampleTest
that you can adapt and try something like this: wsl.exe --cd "/home/morfra/code/XXX" vendor/bin/pint app/Http/Middleware/RecordPageViewsToActivityLog.php
from pint.
Please include the issue template when submitting issues
from pint.
Please include the issue template when submitting issues
How was I able to submit an issue without the template? :-/ I swear it wasn't there..!
from pint.
What path did you take to submit it?
from pint.
What path did you take to submit it?
It was the regular New Issue button on the issues page, which is why I'm surprised.
I went ahead and changed my original issue with the template.
from pint.
This is what I see when I choose a bug report. Did you misclick on feature request?
from pint.
@Francismori7 Sorry, but I am familiar with the contents you described in the pull request. Of course, you can always submit a pull request that helps fixing your issue.
from pint.
@Francismori7 hey, in this situation I have a little workaroud.
Instead running pint.bat from Windows disc directly use your WSL2 Linux console & run pint from mounted Windows disc, just like that:
from pint.
@michalkortas Thanks. That's what I resorted to be doing. However this poses a problem when using it through PHPStorm as a file watcher, it's not something I can configure easily
from pint.
Related Issues (20)
- No .phar file at latest release. HOT 1
- Formatting results in Implements being commented out HOT 5
- `method_chaining_indentation` rule doesn't apply correctly the first time when combined with `no_space_around_double_colon` HOT 23
- Default for nullable_type_declaration_for_default_null_value HOT 4
- Lint not correct for a switch/case with ternary operator HOT 3
- issue stages all project files with no changes HOT 2
- Weird bugs when having set binary_operator_spaces: align_single_space_minimal HOT 2
- syntax error, unexpected token "=" HOT 2
- Preset for WordPress HOT 5
- Pint fails when using new PHP 8.3 features HOT 1
- Centralized Code Style Management with HTTP Presets
- I can't create a Laravel project since Pint was upgraded to 1.14.0 HOT 1
- Can't disable Laravel fixers. HOT 2
- GitHub Issue "Documentation issue" button does not link to laravel/docs HOT 1
- Format the files using stdio HOT 3
- fully_qualified_strict_types not working with pint #2 HOT 1
- [Feature Request] --help message HOT 1
- Internal class pint rule is being overridden by Final class rule HOT 1
- More extensive exlusion/inclusion rules HOT 1
- Add pronunciation to documentation HOT 3
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 pint.