Skip to content

Commit 3f87c17

Browse files
authored
Feat(CI): standardize CI conf (#197)
1 parent ce8492a commit 3f87c17

File tree

5 files changed

+26
-20
lines changed

5 files changed

+26
-20
lines changed

.stylelintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
extends: [
3+
'../../.stylelintrc.js'
4+
],
5+
ignoreFiles: [
6+
'node_modules/**/*',
7+
'vendor/**/*'
8+
],
9+
};

.twig_cs.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Glpi\Tools\GlpiTwigRuleset;
88

99
$finder = TemplateFinder::create()
10-
->in(__DIR__ . '/templates')->in(__DIR__ . '/templates/components')
10+
->in(__DIR__ . '/templates')
1111
->name('*.html.twig')
1212
->ignoreVCSIgnored(true);
1313

composer.lock

Lines changed: 12 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@
7575
}
7676

7777
.plugin_news_alert-toggle {
78-
background-image: url(../pics/toggle_down.png);
78+
background-image: url("../pics/toggle_down.png");
7979
width: 16px;
8080
height: 16px;
8181
cursor: pointer;
82-
opacity: .5;
8382
position: absolute;
8483
top: 3px;
8584
right: 0;
8685
opacity: .5;
8786
}
87+
8888
.expanded .plugin_news_alert-toggle {
89-
background-image: url(../pics/toggle_up.png);
89+
background-image: url("../pics/toggle_up.png");
9090
}
9191

9292
.plugin_news_alert-visibility {

rector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
* along with News. If not, see <http://www.gnu.org/licenses/>.
2424
* -------------------------------------------------------------------------
2525
* @copyright Copyright (C) 2015-2023 by News plugin team.
26-
* @copyright Copyright (C) 2018-2023 by Metabase plugin team.
2726
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
2827
* @link https://github.com/pluginsGLPI/news
29-
* @link https://github.com/pluginsGLPI/metabase
3028
* -------------------------------------------------------------------------
3129
*/
3230

@@ -47,7 +45,7 @@
4745
->withPhpVersion(PhpVersion::PHP_82)
4846
->withCache(
4947
cacheClass: FileCacheStorage::class,
50-
cacheDirectory: sys_get_temp_dir() . '/metabase-rector',
48+
cacheDirectory: sys_get_temp_dir() . '/news-rector',
5149
)
5250
->withRootFiles()
5351
->withParallel(timeoutSeconds: 300)

0 commit comments

Comments
 (0)