1
0
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:
Matt Stauffer
2023-02-13 15:39:44 -05:00
7 changed files with 16 additions and 6 deletions

1
.gitattributes vendored
View File

@@ -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

View 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' }}

View File

@@ -1,4 +0,0 @@
php:
preset: laravel
js: true
css: true

View File

@@ -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)
{

View File

@@ -52,6 +52,7 @@ class Diagnose
];
public $print;
public $progressBar;
public function __construct(public CommandLine $cli, public Filesystem $files)

View File

@@ -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)

View File

@@ -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