Skip to content

Commit 2d953a4

Browse files
committed
Composer: Migrate project to Composer and PSR-4 autoloader
1 parent 43f1d49 commit 2d953a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3261
-813
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/nbproject
22
/nbproject/private/
33
/view/analytics.html
4-
/doc/
4+
/doc/
5+
/vendor/
6+
/.idea/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM programistyk/php-runtimes:7.2-nginx
1+
FROM programistyk/php-runtimes:7.4-nginx
22
ADD . /app
33
ADD config.nginx /etc/nginx/sites-enabled/default
44
ADD fuelio.ini /usr/local/etc/php/conf.d/fuelio.ini

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FuelioImport
2-
Data converter for importingo into great Fuelio app. Currently very limited (but working) GUI is available for PHP 5 built-int webserver.
2+
Data converter for importingo into great Fuelio app. Currently very limited (but working) GUI is available for PHP built-int webserver.
33

44
FuelioImport is developed from the need to move personal fillups history from Motostat and aCar, but it is designed to offer ease of extension for new formats.
55

@@ -29,6 +29,6 @@ After importing into Fuelio, remember to verify or set your cars fuel type! Fuel
2929
Drivvo backups are locale-dependant, so in order to support all of them, we need to be given more examples. Currently spanish, english and polish backups should be working fine. Others might missinterpret "refuelling to full" flag.
3030

3131
## Requirements
32-
FuelioImport converter is built for current PHP version (PHP7), but any stable PHP version should do the job.
32+
FuelioImport converter is built for PHP version 7.4.
3333

3434
* For aCar backup we need SimpleXMLElement and Zip support

apigen.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source:
2-
- lib
2+
- src
33

44
destination: doc
55
templateTheme: bootstrap

composer.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "programistyk/fuelio",
3+
"description": "Fuelio Imports Converter",
4+
"type": "project",
5+
"homepage": "https://fuelio.programistyk.pl",
6+
"require": {
7+
"php": "^7.4",
8+
"ext-zip": "*",
9+
"ext-simplexml": "*",
10+
"ext-xml": "*",
11+
"ext-json": "*"
12+
},
13+
"require-dev": {
14+
"vimeo/psalm": "^4.23",
15+
"phpstan/phpstan": "^1.7"
16+
},
17+
"license": "MIT",
18+
"autoload": {
19+
"psr-4": {
20+
"FuelioImporter\\": "src/"
21+
}
22+
},
23+
"authors": [
24+
{
25+
"name": "Kamil Kamiński",
26+
"email": "[email protected]",
27+
"homepage": "https://programistyk.pl",
28+
"role": "Developer"
29+
},
30+
{
31+
"name": "Adrian Kajda",
32+
"role": "Developer"
33+
}
34+
],
35+
"support": {
36+
"issues": "https://github.com/Programistyk/FuelioImport/issues",
37+
"source": "https://github.com/Programistyk/FuelioImport"
38+
},
39+
"minimum-stability": "stable",
40+
"config": {
41+
"platform": {
42+
"php": "7.4"
43+
},
44+
"sort-packages": true
45+
}
46+
}

0 commit comments

Comments
 (0)