Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e596c16
Update index.php
DatIsVinnie May 28, 2024
033d8e4
Update index.php
DatIsVinnie May 28, 2024
35e4e0f
Update index.php
DatIsVinnie May 28, 2024
b7bb3d4
Merge branch 'main' into test
DatIsVinnie May 28, 2024
6df709f
Create test.php
DatIsVinnie May 28, 2024
840519d
Merge branch 'main' into test
DatIsVinnie May 28, 2024
0e45d4c
Merge branch 'main' into test
DatIsVinnie May 28, 2024
6fe33e8
Merge branch 'main' into test
DatIsVinnie May 28, 2024
5d0a226
code update
DatIsVinnie May 28, 2024
829bffc
Update check_code.yaml
DatIsVinnie May 28, 2024
3b0953c
Merge branch 'main' into test
DatIsVinnie May 28, 2024
d4ab8ed
Merge branch 'main' into test
DatIsVinnie May 28, 2024
5946eed
Merge branch 'main' into test
DatIsVinnie May 28, 2024
48b7c54
Update check_code.yaml
DatIsVinnie May 28, 2024
ec6c48c
Update check_code.yaml
DatIsVinnie May 28, 2024
b80fedb
Update check_code.yaml
DatIsVinnie May 28, 2024
77194cd
Update check_code.yaml
DatIsVinnie May 28, 2024
bf216e2
Merge branch 'main' into test
DatIsVinnie May 28, 2024
efd37a8
Update check_code.yaml
DatIsVinnie May 28, 2024
2241fe6
Update check_code.yaml
DatIsVinnie May 28, 2024
6ff1e71
Update check_code.yaml
DatIsVinnie May 28, 2024
c06f781
Merge branch 'main' into test
DatIsVinnie May 28, 2024
26dce0a
Update check_code.yaml
DatIsVinnie May 28, 2024
597b613
Update check_code.yaml
DatIsVinnie May 28, 2024
34a9029
Merge branch 'main' into test
DatIsVinnie May 28, 2024
ee3a9d6
Merge branch 'main' into test
DatIsVinnie May 28, 2024
9692904
Merge branch 'main' into test
DatIsVinnie May 28, 2024
612ecd8
Merge branch 'main' into test
DatIsVinnie May 28, 2024
b8def44
Merge branch 'main' into test
DatIsVinnie May 28, 2024
d5ae830
Merge branch 'main' into test
DatIsVinnie May 28, 2024
17822db
Merge branch 'main' into test
DatIsVinnie May 28, 2024
130fbec
Merge branch 'main' into test
DatIsVinnie May 28, 2024
ae09487
Merge branch 'main' into test
DatIsVinnie May 28, 2024
cbf0e4e
Merge branch 'main' into test
DatIsVinnie May 28, 2024
d1b3453
Merge branch 'main' into test
DatIsVinnie May 28, 2024
e68e262
Merge branch 'main' into test
DatIsVinnie May 28, 2024
523c944
Merge branch 'main' into test
DatIsVinnie May 28, 2024
a9e67de
Merge branch 'main' into test
DatIsVinnie May 28, 2024
79978b2
Update test.php
DatIsVinnie May 28, 2024
dc9b5aa
Merge branch 'main' into test
DatIsVinnie May 28, 2024
b21042c
Merge branch 'main' into test
DatIsVinnie May 28, 2024
7f83f86
Merge branch 'main' into test
DatIsVinnie May 28, 2024
0a4ca30
Merge branch 'main' into test
DatIsVinnie May 28, 2024
32dac36
Merge branch 'main' into test
DatIsVinnie May 28, 2024
5ecddfd
Merge branch 'main' into test
DatIsVinnie May 28, 2024
83c3797
Merge branch 'main' into test
DatIsVinnie May 28, 2024
c7252d4
Merge branch 'main' into test
DatIsVinnie May 28, 2024
e79d640
Update index.php
DatIsVinnie May 28, 2024
197da0f
Merge branch 'main' into test
DatIsVinnie May 28, 2024
b27121e
t
DatIsVinnie May 28, 2024
bcc87d1
Update check_code.yaml
DatIsVinnie Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4' # Of de versie die je nodig hebt
php-version: '8'

- name: Install dependencies
run: composer require --dev phpstan/phpstan
Expand All @@ -32,7 +32,7 @@ jobs:
run: |
CHANGED_FILES=$(cat changed_files.txt)
if [ -n "$CHANGED_FILES" ]; then
vendor/bin/phpstan analyse --level=7 --no-progress $CHANGED_FILES
vendor/bin/phpstan analyse --level=7 --no-progress --error-format raw $CHANGED_FILES | grep -E '^\s*(\[(\w+)\]|\((\w+)\)|PHP\s*(Parse|Fatal|Compile)\s*error)'
else
echo "No PHP files changed."
fi
Expand Down
8 changes: 0 additions & 8 deletions root/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,12 @@
$naam = "John Doe";

// Proberen de waarde van een niet-gedefinieerde variabele op te halen
echo "Hallo, mijn naam is $name";


// Een array met enkele gegevens
$data = [
'name' => 'John Doe',
'email' => '[email protected]'
];

// Proberen om de waarde van een niet-bestaande index 'age' op te halen
$age = $data['age'];

// Deze lijn zal een undefined index-waarschuwing veroorzaken omdat 'age' niet bestaat in de $data array
echo "Age: $age";



2 changes: 0 additions & 2 deletions root/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@


// Proberen om de waarde van een niet-bestaande index 'age' op te halen
$age = $data['age'];

// Deze lijn zal een undefined index-waarschuwing veroorzaken omdat 'age' niet bestaat in de $data array
echo "Age: $age";
6 changes: 6 additions & 0 deletions test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php


// Proberen om de waarde van een niet-bestaande index 'age' op te halen

// Deze lijn zal een undefined index-waarschuwing veroorzaken omdat 'age' niet bestaat in de $data array