Page 1 of 1

Project Checker - Warning: Unexpected file name, this file won't be checked in the source versioning system

Posted: 07 May 2024, 07:23
by The Red Kite
Hi,

I was running the studio project checker and I came across a lot of these warnings

c_bank.php Warning: Unexpected file name, this file won't be checked in the source versioning system

Now c_bank.php is a valid filename and php is quite happy. I am writing object oriented php code and the file contains the implementation of my c_bank object. The 'c_' prefix tells me it is one of my 'custom objects'.

I am puzzled what the warning actually means.

Does it mean:

a) Warning: Unexpected file name, this file won't be checked in TO the source versioning system (because it has a crazy c_ prefix)

or

b) Warning: This is one of your files and we won't check it

I tried testing a) by uploading the a file called cBank and got the same warning.

Cheers

Neil

Re: Project Checker - Warning: Unexpected file name, this file won't be checked in the source versioning system

Posted: 07 May 2024, 10:30
by Tisaac
The Red Kite wrote: 07 May 2024, 07:23 Hi,

I was running the studio project checker and I came across a lot of these warnings

c_bank.php Warning: Unexpected file name, this file won't be checked in the source versioning system

Now c_bank.php is a valid filename and php is quite happy. I am writing object oriented php code and the file contains the implementation of my c_bank object. The 'c_' prefix tells me it is one of my 'custom objects'.

I am puzzled what the warning actually means.

Does it mean:

a) Warning: Unexpected file name, this file won't be checked in TO the source versioning system (because it has a crazy c_ prefix)

or

b) Warning: This is one of your files and we won't check it

I tried testing a) by uploading the a file called cBank and got the same warning.

Cheers

Neil
Dont put your custom files at the root, organize them in the modules folder.