mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 00:40:06 +01:00
Merge Pint config
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -12,7 +12,6 @@
|
||||
.editorconfig export-ignore
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
.styleci.yml export-ignore
|
||||
phpunit.xml export-ignore
|
||||
CHANGELOG.md export-ignore
|
||||
phpunit.xml.dist export-ignore
|
||||
|
||||
9
.github/workflows/coding-standards.yml
vendored
Normal file
9
.github/workflows/coding-standards.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
name: fix code styling
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
uses: laravel/.github/.github/workflows/coding-standards.yml@main
|
||||
with:
|
||||
fix: ${{ github.ref_name == 'master' }}
|
||||
@@ -1,4 +0,0 @@
|
||||
php:
|
||||
preset: laravel
|
||||
js: true
|
||||
css: true
|
||||
@@ -18,8 +18,10 @@ class Brew
|
||||
'php@7.2',
|
||||
'php@7.1',
|
||||
];
|
||||
|
||||
const BREW_DISABLE_AUTO_CLEANUP = 'HOMEBREW_NO_INSTALL_CLEANUP=1';
|
||||
const LATEST_PHP_VERSION = 'php@8.2';
|
||||
|
||||
const LATEST_PHP_VERSION = 'php@8.1';
|
||||
|
||||
public function __construct(public CommandLine $cli, public Filesystem $files)
|
||||
{
|
||||
|
||||
@@ -52,6 +52,7 @@ class Diagnose
|
||||
];
|
||||
|
||||
public $print;
|
||||
|
||||
public $progressBar;
|
||||
|
||||
public function __construct(public CommandLine $cli, public Filesystem $files)
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
class DnsMasq
|
||||
{
|
||||
public $dnsmasqMasterConfigFile = BREW_PREFIX.'/etc/dnsmasq.conf';
|
||||
|
||||
public $dnsmasqSystemConfDir = BREW_PREFIX.'/etc/dnsmasq.d';
|
||||
|
||||
public $resolverPath = '/etc/resolver';
|
||||
|
||||
public function __construct(public Brew $brew, public CommandLine $cli, public Filesystem $files, public Configuration $configuration)
|
||||
|
||||
@@ -976,6 +976,7 @@ public function runCommand(string $command, callable $onError = null): string
|
||||
class FixturesSiteFake extends Site
|
||||
{
|
||||
private $valetHomePath;
|
||||
|
||||
private $crtCounter = 0;
|
||||
|
||||
public function valetHomePath(): string
|
||||
|
||||
Reference in New Issue
Block a user