File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 13
13
"statusBar.foreground" : " #e7e7e7" ,
14
14
"statusBarItem.hoverBackground" : " #4a1c40" ,
15
15
"titleBar.inactiveBackground" : " #250e2099" ,
16
- "titleBar.inactiveForeground" : " #e7e7e799"
16
+ "titleBar.inactiveForeground" : " #e7e7e799" ,
17
+ "commandCenter.border" : " #e7e7e799" ,
18
+ "sash.hoverBorder" : " #4a1c40" ,
19
+ "statusBarItem.remoteBackground" : " #250e20" ,
20
+ "statusBarItem.remoteForeground" : " #e7e7e7"
17
21
},
18
22
"peacock.color" : " #250e20"
19
23
}
Original file line number Diff line number Diff line change 4
4
* You can place your custom package configuration in here.
5
5
*/
6
6
return [
7
-
7
+ ' impossible-to-match ' => true ,
8
8
];
Original file line number Diff line number Diff line change @@ -126,7 +126,9 @@ public function registerValidator()
126
126
127
127
} else {
128
128
if ($ attr ) {
129
- $ msg .= __ ('laravel-codice-fiscale::codfisc.impossible-to-match ' ) . ': ' . $ cf ['err ' ];
129
+ if (config ('laravel-codice-fiscale.impossible-to-match ' )) {
130
+ $ msg .= __ ('laravel-codice-fiscale::codfisc.impossible-to-match ' ) . ': ' . $ cf ['err ' ];
131
+ }
130
132
} else {
131
133
$ msg = $ cf ['err ' ];
132
134
}
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ public function boot()
18
18
// $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-codice-fiscale');
19
19
// $this->loadMigrationsFrom(__DIR__.'/../database/migrations');
20
20
// $this->loadRoutesFrom(__DIR__.'/routes.php');
21
-
21
+ $ this -> mergeConfigFrom ( __DIR__ . ' /../config/config.php ' , ' laravel-codice-fiscale ' );
22
22
23
23
\LaravelCodiceFiscale::registerValidator ();
24
24
25
25
26
26
if ($ this ->app ->runningInConsole ()) {
27
- // $this->publishes([
28
- // __DIR__. '/../config/config.php' => config_path('laravel-codice-fiscale.php'),
29
- // ], 'config ');
27
+ $ this ->publishes ([
28
+ __DIR__ . '/../config/config.php ' => config_path ('laravel-codice-fiscale.php ' ),
29
+ ], 'laravel-codice-fiscale ' );
30
30
31
31
// Publishing the views.
32
32
/*$this->publishes([
You can’t perform that action at this time.
0 commit comments